Fix 'make check' invocation wrt new libsigrok.h location.
This commit is contained in:
parent
9ae3eb121f
commit
6592c36995
|
@ -361,7 +361,7 @@ TESTS = tests/check_main
|
||||||
check_PROGRAMS = ${TESTS}
|
check_PROGRAMS = ${TESTS}
|
||||||
|
|
||||||
tests_check_main_SOURCES = \
|
tests_check_main_SOURCES = \
|
||||||
libsigrok.h \
|
include/libsigrok/libsigrok.h \
|
||||||
tests/lib.c \
|
tests/lib.c \
|
||||||
tests/lib.h \
|
tests/lib.h \
|
||||||
tests/check_main.c \
|
tests/check_main.c \
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <check.h>
|
#include <check.h>
|
||||||
#include "../libsigrok.h"
|
#include "../include/libsigrok/libsigrok.h"
|
||||||
#include "lib.h"
|
#include "lib.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <check.h>
|
#include <check.h>
|
||||||
#include "../libsigrok.h"
|
#include "../include/libsigrok/libsigrok.h"
|
||||||
#include "lib.h"
|
#include "lib.h"
|
||||||
|
|
||||||
struct sr_context *sr_ctx;
|
struct sr_context *sr_ctx;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <check.h>
|
#include <check.h>
|
||||||
#include "../libsigrok.h"
|
#include "../include/libsigrok/libsigrok.h"
|
||||||
#include "lib.h"
|
#include "lib.h"
|
||||||
|
|
||||||
/* Check whether at least one input module is available. */
|
/* Check whether at least one input module is available. */
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
#include <check.h>
|
#include <check.h>
|
||||||
#include <glib/gstdio.h>
|
#include <glib/gstdio.h>
|
||||||
#include "../libsigrok.h"
|
#include "../include/libsigrok/libsigrok.h"
|
||||||
#include "lib.h"
|
#include "lib.h"
|
||||||
|
|
||||||
#define FILENAME "foo.dat"
|
#define FILENAME "foo.dat"
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <check.h>
|
#include <check.h>
|
||||||
#include "../libsigrok.h"
|
#include "../include/libsigrok/libsigrok.h"
|
||||||
#include "lib.h"
|
#include "lib.h"
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <check.h>
|
#include <check.h>
|
||||||
#include "../libsigrok.h"
|
#include "../include/libsigrok/libsigrok.h"
|
||||||
#include "lib.h"
|
#include "lib.h"
|
||||||
|
|
||||||
/* Check whether at least one output module is available. */
|
/* Check whether at least one output module is available. */
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <check.h>
|
#include <check.h>
|
||||||
#include "../libsigrok.h"
|
#include "../include/libsigrok/libsigrok.h"
|
||||||
#include "lib.h"
|
#include "lib.h"
|
||||||
|
|
||||||
struct sr_context *sr_ctx;
|
struct sr_context *sr_ctx;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <check.h>
|
#include <check.h>
|
||||||
#include "../libsigrok.h"
|
#include "../include/libsigrok/libsigrok.h"
|
||||||
#include "lib.h"
|
#include "lib.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <glib/gstdio.h>
|
#include <glib/gstdio.h>
|
||||||
#include <check.h>
|
#include <check.h>
|
||||||
#include "../libsigrok.h"
|
#include "../include/libsigrok/libsigrok.h"
|
||||||
#include "lib.h"
|
#include "lib.h"
|
||||||
|
|
||||||
/* Get a libsigrok driver by name. */
|
/* Get a libsigrok driver by name. */
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef LIBSIGROK_TESTS_LIB_H
|
#ifndef LIBSIGROK_TESTS_LIB_H
|
||||||
#define LIBSIGROK_TESTS_LIB_H
|
#define LIBSIGROK_TESTS_LIB_H
|
||||||
|
|
||||||
#include "../libsigrok.h"
|
#include "../include/libsigrok/libsigrok.h"
|
||||||
|
|
||||||
struct sr_dev_driver *srtest_driver_get(const char *drivername);
|
struct sr_dev_driver *srtest_driver_get(const char *drivername);
|
||||||
struct sr_input_format *srtest_input_get(const char *id);
|
struct sr_input_format *srtest_input_get(const char *id);
|
||||||
|
|
Loading…
Reference in New Issue