summaryrefslogtreecommitdiff
path: root/test/Makefile.am
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-09-05 16:47:40 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-09-05 16:47:40 +0200
commit89933680468ea4c374691b076de2d0b39b454cf4 (patch)
tree926593a10b995d2d15480446f730d05661ed6485 /test/Makefile.am
parent20a57dac41d41cad0cfc9024c823b058163afd5c (diff)
Enabled painter unit test.
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am22
1 files changed, 17 insertions, 5 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 0bccd69..2ad9a9c 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -2,8 +2,9 @@
SUBDIRS = dgreftest
include $(top_srcdir)/src/Makefile.am.drumgizmo
+include $(top_srcdir)/plugingui/Makefile.am.plugingui
-TESTS = resource enginetest gui resampler configfile audiocache \
+TESTS = resource enginetest paintertest resampler configfile audiocache \
audiocachefile audiocacheidmanager audiocacheeventhandler \
memchecker randomtest atomictest syncedsettingstest imagecachetest \
semaphoretest
@@ -89,11 +90,22 @@ enginetest_SOURCES = \
test.cc \
enginetest.cc
-gui_CXXFLAGS = -DOUTPUT=\"gui\" $(CPPUNIT_CFLAGS)
-gui_LDFLAGS = $(CPPUNIT_LIBS)
-gui_SOURCES = \
+paintertest_CXXFLAGS = -DOUTPUT=\"paintertest\" $(CPPUNIT_CFLAGS) \
+ -I$(top_srcdir)/src -I$(top_srcdir)/include \
+ -I$(top_srcdir)/hugin -DDISABLE_HUGIN $(PTHREAD_CFLAGS) \
+ $(PLUGIN_GUI_CPPFLAGS)
+paintertest_LDFLAGS = $(CPPUNIT_LIBS)
+paintertest_SOURCES = \
test.cc \
- gui.cc
+ $(top_srcdir)/plugingui/painter.cc \
+ $(top_srcdir)/plugingui/pixelbuffer.cc \
+ $(top_srcdir)/plugingui/colour.cc \
+ $(top_srcdir)/plugingui/font.cc \
+ $(top_srcdir)/plugingui/image.cc \
+ $(top_srcdir)/plugingui/resource.cc \
+ $(top_srcdir)/plugingui/resource_data.cc \
+ $(top_srcdir)/plugingui/lodepng/lodepng.cpp \
+ paintertest.cc
resampler_CXXFLAGS = -DOUTPUT=\"resampler\" $(CPPUNIT_CFLAGS) \
$(ZITA_CXXFLAGS) $(SAMPLERATE_CFLAGS) \