From: Daniel Elstner Date: Thu, 13 Aug 2015 00:06:41 +0000 (+0200) Subject: tests: Include X-Git-Tag: libsigrok-0.4.0~444 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4960aeb03533f503c32c50cdd94277d561112c1a;p=libsigrok.git tests: Include This matches the global style and avoids the "../" path components. --- diff --git a/tests/core.c b/tests/core.c index bb7dd848..1d297178 100644 --- a/tests/core.c +++ b/tests/core.c @@ -20,7 +20,7 @@ #include #include -#include "../include/libsigrok/libsigrok.h" +#include #include "lib.h" /* diff --git a/tests/device.c b/tests/device.c index d9594451..f98757dc 100644 --- a/tests/device.c +++ b/tests/device.c @@ -20,7 +20,7 @@ #include #include -#include "../include/libsigrok/libsigrok.h" +#include #include "lib.h" START_TEST(test_user_new) diff --git a/tests/driver_all.c b/tests/driver_all.c index 0eb1ab8c..d87ff3e6 100644 --- a/tests/driver_all.c +++ b/tests/driver_all.c @@ -20,7 +20,7 @@ #include #include -#include "../include/libsigrok/libsigrok.h" +#include #include "lib.h" /* Check whether at least one driver is available. */ diff --git a/tests/input_all.c b/tests/input_all.c index feee6309..38adebdc 100644 --- a/tests/input_all.c +++ b/tests/input_all.c @@ -20,7 +20,7 @@ #include #include -#include "../include/libsigrok/libsigrok.h" +#include #include "lib.h" /* Check whether at least one input module is available. */ diff --git a/tests/input_binary.c b/tests/input_binary.c index 1ecfb082..307950b9 100644 --- a/tests/input_binary.c +++ b/tests/input_binary.c @@ -20,7 +20,7 @@ #include #include -#include "../include/libsigrok/libsigrok.h" +#include #include "lib.h" #define BUFSIZE (1000 * 1000) diff --git a/tests/lib.c b/tests/lib.c index 0da9b7ab..43f20b2a 100644 --- a/tests/lib.c +++ b/tests/lib.c @@ -23,7 +23,7 @@ #include #include #include -#include "../include/libsigrok/libsigrok.h" +#include #include "lib.h" struct sr_context *srtest_ctx; diff --git a/tests/lib.h b/tests/lib.h index 8ef9d54e..cefe0438 100644 --- a/tests/lib.h +++ b/tests/lib.h @@ -21,7 +21,7 @@ #ifndef LIBSIGROK_TESTS_LIB_H #define LIBSIGROK_TESTS_LIB_H -#include "../include/libsigrok/libsigrok.h" +#include extern struct sr_context *srtest_ctx; diff --git a/tests/main.c b/tests/main.c index 4c75781a..328d3a02 100644 --- a/tests/main.c +++ b/tests/main.c @@ -20,7 +20,7 @@ #include #include -#include "../include/libsigrok/libsigrok.h" +#include #include "lib.h" int main(void) diff --git a/tests/output_all.c b/tests/output_all.c index 1eadea19..e27d18f6 100644 --- a/tests/output_all.c +++ b/tests/output_all.c @@ -20,7 +20,7 @@ #include #include -#include "../include/libsigrok/libsigrok.h" +#include #include "lib.h" /* Check whether at least one output module is available. */ diff --git a/tests/session.c b/tests/session.c index e0ea6e24..4319c5ae 100644 --- a/tests/session.c +++ b/tests/session.c @@ -20,7 +20,7 @@ #include #include -#include "../include/libsigrok/libsigrok.h" +#include #include "lib.h" /* diff --git a/tests/strutil.c b/tests/strutil.c index 68e6117d..2f4503da 100644 --- a/tests/strutil.c +++ b/tests/strutil.c @@ -19,7 +19,7 @@ */ #include -#include "../include/libsigrok/libsigrok.h" +#include #include "lib.h" static void test_samplerate(uint64_t samplerate, const char *expected) diff --git a/tests/transform_all.c b/tests/transform_all.c index a88f97ed..6a578a08 100644 --- a/tests/transform_all.c +++ b/tests/transform_all.c @@ -20,7 +20,7 @@ #include #include -#include "../include/libsigrok/libsigrok.h" +#include #include "lib.h" /* Check whether at least one transform module is available. */ diff --git a/tests/trigger.c b/tests/trigger.c index bf177602..ecd10306 100644 --- a/tests/trigger.c +++ b/tests/trigger.c @@ -21,7 +21,7 @@ #include #include #include -#include "../include/libsigrok/libsigrok.h" +#include #include "lib.h" /* Test lots of triggers/stages/matches/channels */ diff --git a/tests/version.c b/tests/version.c index 694d5c28..4217ad51 100644 --- a/tests/version.c +++ b/tests/version.c @@ -20,7 +20,7 @@ #include #include -#include "../include/libsigrok/libsigrok.h" +#include #include "lib.h" /*