summaryrefslogtreecommitdiff
path: root/test/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 8a746a6..9a7fa82 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -2,7 +2,8 @@
include $(top_srcdir)/src/Makefile.am.drumgizmo
TESTS = resource engine gui resampler lv2 configfile audiocache \
- audiocachefile audiocacheidmanager audiocacheeventhandler
+ audiocachefile audiocacheidmanager audiocacheeventhandler \
+ memchecker
check_PROGRAMS = $(TESTS)
@@ -117,5 +118,15 @@ configfile_SOURCES = \
test.cc \
configtest.cc
+memchecker_CXXFLAGS = -DOUTPUT=\"memchecker\" $(CPPUNIT_CFLAGS) \
+ -I$(top_srcdir)/src -I$(top_srcdir)/include \
+ -I$(top_srcdir)/hugin -DDISABLE_HUGIN
+memcheckere_CFLAGS = -DDISABLE_HUGIN
+memchecker_LDFLAGS = $(CPPUNIT_LIBS) $(DRUMGIZMO_LIBS)
+memchecker_SOURCES = \
+ $(DRUMGIZMO_SOURCES) \
+ test.cc \
+ memcheckertest.cc
+
EXTRA_DIST = \
lv2_test_host.h