summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Makefile.am16
1 files changed, 10 insertions, 6 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 93155fa..0bccd69 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -3,11 +3,15 @@ SUBDIRS = dgreftest
include $(top_srcdir)/src/Makefile.am.drumgizmo
-TESTS = resource engine gui resampler lv2 configfile audiocache \
+TESTS = resource enginetest gui resampler configfile audiocache \
audiocachefile audiocacheidmanager audiocacheeventhandler \
memchecker randomtest atomictest syncedsettingstest imagecachetest \
semaphoretest
+if ENABLE_LV2
+TESTS += lv2
+endif
+
check_PROGRAMS = $(TESTS)
resource_CXXFLAGS = -DOUTPUT=\"resource\" $(CPPUNIT_CFLAGS) \
@@ -74,16 +78,16 @@ audiocacheeventhandler_SOURCES = \
test.cc \
audiocacheeventhandlertest.cc
-engine_CXXFLAGS = -DOUTPUT=\"engine\" $(CPPUNIT_CFLAGS) \
+enginetest_CXXFLAGS = -DOUTPUT=\"enginetest\" $(CPPUNIT_CFLAGS) \
-I$(top_srcdir)/src -I$(top_srcdir)/include \
-I$(top_srcdir)/hugin -DDISABLE_HUGIN $(PTHREAD_CFLAGS)
-engine_CFLAGS = -DDISABLE_HUGIN
-engine_LDFLAGS = $(CPPUNIT_LIBS) $(DRUMGIZMO_LIBS) $(PTHREAD_LIBS)
-engine_SOURCES = \
+enginetest_CFLAGS = -DDISABLE_HUGIN
+enginetest_LDFLAGS = $(CPPUNIT_LIBS) $(DRUMGIZMO_LIBS) $(PTHREAD_LIBS)
+enginetest_SOURCES = \
$(DRUMGIZMO_SOURCES) \
$(top_srcdir)/hugin/hugin.c \
test.cc \
- engine.cc
+ enginetest.cc
gui_CXXFLAGS = -DOUTPUT=\"gui\" $(CPPUNIT_CFLAGS)
gui_LDFLAGS = $(CPPUNIT_LIBS)