From 7418abaeb3130423bedd6bcb3cef0eb2565ed5d6 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 6 Jun 2018 19:00:12 +0200 Subject: Added unit-test for InstrumentParser. --- test/Makefile.am | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'test/Makefile.am') diff --git a/test/Makefile.am b/test/Makefile.am index f72e694..26ffa81 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -6,7 +6,8 @@ if ENABLE_TESTS TESTS = resource enginetest paintertest resampler configfile audiocache \ audiocachefile audiocacheidmanager audiocacheeventhandler \ randomtest atomictest syncedsettingstest imagecachetest \ - semaphoretest drumkitcreatortest bytesizeparsertest notifiertest + semaphoretest drumkitcreatortest bytesizeparsertest notifiertest \ + instrumentparsertest if ENABLE_LV2 TESTS += lv2 @@ -212,4 +213,14 @@ notifiertest_SOURCES = \ notifiertest.cc \ test.cc +instrumentparsertest_CXXFLAGS = -DOUTPUT=\"instrumentparsertest\" $(CPPUNIT_CFLAGS) \ + -I$(top_srcdir)/src -I$(top_srcdir)/include +instrumentparsertest_LDFLAGS = $(CPPUNIT_LIBS) \ + $(top_srcdir)/src/libdg.la +instrumentparsertest_SOURCES = \ + $(top_srcdir)/hugin/hugin.c \ + instrumentparsertest.cc \ + scopedfile.cc \ + test.cc + endif -- cgit v1.2.3