From 554a49f9df0ee8c57d7fae64515cf57d622b0511 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Wed, 11 Dec 2013 18:36:42 +0100 Subject: check: Make sure to test this set of decoders, not the installed ones. --- tests/Makefile.am | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'tests/Makefile.am') diff --git a/tests/Makefile.am b/tests/Makefile.am index 5739a03..e70b301 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -20,9 +20,7 @@ if HAVE_CHECK TESTS = check_main - check_PROGRAMS = ${TESTS} - check_main_SOURCES = \ $(top_builddir)/libsigrokdecode.h \ check_main.c \ @@ -30,12 +28,10 @@ check_main_SOURCES = \ check_decoder.c \ check_inst.c \ check_session.c - check_main_CFLAGS = @check_CFLAGS@ - check_main_LDADD = $(top_builddir)/libsigrokdecode.la @check_LIBS@ - -check_main_CPPFLAGS = $(CPPFLAGS_PYTHON) +check_main_CPPFLAGS = $(CPPFLAGS_PYTHON) \ + -DDECODERS_DIR='"$(abs_top_builddir)/decoders"' endif if HAVE_LIBSIGROK -- cgit v1.2.3-70-g09d2