]> sigrok.org Git - libsigrok.git/commitdiff
tests: Include <libsigrok/libsigrok.h>
authorDaniel Elstner <redacted>
Thu, 13 Aug 2015 00:06:41 +0000 (02:06 +0200)
committerDaniel Elstner <redacted>
Sun, 16 Aug 2015 16:28:13 +0000 (18:28 +0200)
This matches the global style and avoids the "../" path
components.

14 files changed:
tests/core.c
tests/device.c
tests/driver_all.c
tests/input_all.c
tests/input_binary.c
tests/lib.c
tests/lib.h
tests/main.c
tests/output_all.c
tests/session.c
tests/strutil.c
tests/transform_all.c
tests/trigger.c
tests/version.c

index bb7dd8486c526423fcefd77e9ab1b51109e04f17..1d2971785f26925e1426da8caf8e53289ae16d8c 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <stdlib.h>
 #include <check.h>
-#include "../include/libsigrok/libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "lib.h"
 
 /*
index d9594451373c0cd137f5b0ce9b3d3c7bd289a533..f98757dca860162528d39d932817e6654e8808ae 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <string.h>
 #include <check.h>
-#include "../include/libsigrok/libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "lib.h"
 
 START_TEST(test_user_new)
index 0eb1ab8ca5a94f54d6c4c2cb39235acad3545e62..d87ff3e6d1e52e67d8722a4ffe9c0d7d077d24fa 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <stdlib.h>
 #include <check.h>
-#include "../include/libsigrok/libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "lib.h"
 
 /* Check whether at least one driver is available. */
index feee63091be9612596b27e65a9ebc84f1ad63d5f..38adebdcc6318b09451cd0516a048208ce8c80d1 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <stdlib.h>
 #include <check.h>
-#include "../include/libsigrok/libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "lib.h"
 
 /* Check whether at least one input module is available. */
index 1ecfb082bdf61daa1674a4c12bd1b69dea944dcb..307950b9819bc2adeeeac949919c6eff2fcecb6f 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <check.h>
 #include <glib/gstdio.h>
-#include "../include/libsigrok/libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "lib.h"
 
 #define BUFSIZE (1000 * 1000)
index 0da9b7aba1759926ce0ba787623fca32fde2073f..43f20b2aa649e50701054aa3756656ce942a8c93 100644 (file)
@@ -23,7 +23,7 @@
 #include <glib.h>
 #include <glib/gstdio.h>
 #include <check.h>
-#include "../include/libsigrok/libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "lib.h"
 
 struct sr_context *srtest_ctx;
index 8ef9d54eb24b03e6fd6887917e9d293a59506441..cefe0438d7a4a201d73e600906e81dd76a33b629 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef LIBSIGROK_TESTS_LIB_H
 #define LIBSIGROK_TESTS_LIB_H
 
-#include "../include/libsigrok/libsigrok.h"
+#include <libsigrok/libsigrok.h>
 
 extern struct sr_context *srtest_ctx;
 
index 4c75781a4413c2e07490ddd27f7a3b42b8201064..328d3a02b37e3e3479826a7f6567a41ded9e6ced 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <stdlib.h>
 #include <check.h>
-#include "../include/libsigrok/libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "lib.h"
 
 int main(void)
index 1eadea193badd624b24c0db575ba4e8592512d20..e27d18f62f9e15d16fc3fdde230d35fd2456d8f1 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <stdlib.h>
 #include <check.h>
-#include "../include/libsigrok/libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "lib.h"
 
 /* Check whether at least one output module is available. */
index e0ea6e24703c492b1393a53c9f872a10f6386959..4319c5aeefc9fb21d1086588494f1b25ac91823a 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <stdlib.h>
 #include <check.h>
-#include "../include/libsigrok/libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "lib.h"
 
 /*
index 68e6117dfd3c946f0ff3e4cb241b3324217e8c31..2f4503da9679c6d0f3b8e0b73788018aac568451 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 #include <check.h>
-#include "../include/libsigrok/libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "lib.h"
 
 static void test_samplerate(uint64_t samplerate, const char *expected)
index a88f97ed75912ffd742ba74e6fd8d0b54f8f2fab..6a578a08223bb892b108224ded5b828a89fca91f 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <stdlib.h>
 #include <check.h>
-#include "../include/libsigrok/libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "lib.h"
 
 /* Check whether at least one transform module is available. */
index bf177602b8c0551d686ef30b40e7d70c51241dfb..ecd103069d8e33cbfbd69187db5d48f5f5b3923c 100644 (file)
@@ -21,7 +21,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <check.h>
-#include "../include/libsigrok/libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "lib.h"
 
 /* Test lots of triggers/stages/matches/channels */
index 694d5c28bc23df3f13db21e26488c5b1eda551f6..4217ad51ae36de8886aef31e1b5aad1db7336782 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <stdlib.h>
 #include <check.h>
-#include "../include/libsigrok/libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "lib.h"
 
 /*