summaryrefslogtreecommitdiff
path: root/test/Makefile.am
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-01-24 00:54:33 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-02-09 11:09:51 +0100
commite327656409daf5c52fa10ed9138ba45cebeaba13 (patch)
tree3005be2e0e2447dfe4f1d69edee039f5d3bad7c8 /test/Makefile.am
parentd81d6e8bf5b45495f7c87af3c88e88df30e57f50 (diff)
Add a test for the memchecker.
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