From 753cb561f3f72662430c89414f971c8137beb43c Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 25 Jul 2018 19:27:20 +0200 Subject: Add unit-test for configparser. --- test/Makefile.am | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'test/Makefile.am') diff --git a/test/Makefile.am b/test/Makefile.am index 32f158d..c26b017 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -7,7 +7,7 @@ TESTS = resource enginetest paintertest configfile audiocache \ audiocachefile audiocacheidmanager audiocacheeventhandler \ randomtest atomictest syncedsettingstest imagecachetest \ semaphoretest drumkitcreatortest bytesizeparsertest notifiertest \ - dgxmlparsertest domloadertest + dgxmlparsertest domloadertest configparsertest EXTRA_DIST = \ dgunit.h \ @@ -217,4 +217,16 @@ domloadertest_SOURCES = \ scopedfile.cc \ dgtest.cc +configparsertest_CXXFLAGS = -DOUTPUT=\"configparsertest\" \ + -I$(top_srcdir)/src -I$(top_srcdir)/include -I$(top_srcdir)/hugin \ + -I$(top_srcdir)/pugixml/src $(EXPAT_CFLAGS) +configparsertest_LDFLAGS = $(EXPAT_LIBS) +configparsertest_SOURCES = \ + $(top_srcdir)/hugin/hugin.c \ + $(top_srcdir)/src/configparser.cc \ + $(top_srcdir)/src/saxparser.cc \ + $(top_srcdir)/pugixml/src/pugixml.cpp \ + configparsertest.cc \ + dgtest.cc + endif -- cgit v1.2.3