summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2015-04-10 16:28:03 +0200
committerJonas Suhr Christensen <jsc@umbraculum.org>2015-04-10 16:28:03 +0200
commit96df5c64a03de57732eb61c3f65c4e17d14c6688 (patch)
tree70a3fd33407b037975c6a173cab521417216d4ad /test
parent189f156f231b9e06f6d4683c1fc951fe78b6d92f (diff)
Added unit test shell for cachemanager. Added cache manager logic - still needing audio related code.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 5aaf33f..3d0d405 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,7 +1,7 @@
# Rules for the test code (use `make check` to execute)
include $(top_srcdir)/src/Makefile.am.drumgizmo
-TESTS = engine gui resampler lv2
+TESTS = engine cache gui resampler lv2
check_PROGRAMS = $(TESTS)
@@ -16,6 +16,17 @@ engine_SOURCES = \
test.cc \
engine.cc
+cache_CXXFLAGS = -DOUTPUT=\"cache\" $(CPPUNIT_CFLAGS) \
+ -I$(top_srcdir)/src -I$(top_srcdir)/include \
+ -I$(top_srcdir)/hugin -DDISABLE_HUGIN
+cache_CFLAGS = -DDISABLE_HUGIN
+cache_LDFLAGS = $(CPPUNIT_LIBS) $(DRUMGIZMO_LIBS) $(PTHREAD_LIBS)
+cache_SOURCES = \
+ $(DRUMGIZMO_SOURCES) \
+ $(top_srcdir)/hugin/hugin.c \
+ test.cc \
+ cache.cc
+
gui_CXXFLAGS = -DOUTPUT=\"gui\" $(CPPUNIT_CFLAGS)
gui_LDFLAGS = $(CPPUNIT_LIBS)
gui_SOURCES = \