summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-03-22 11:51:48 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-04-04 09:39:19 +1000
commit2898098469457a0d7c3d3610065ccc75c46bdfa0 (patch)
tree8350a5382fc991a542410489b7765904f884880a /test
parent99822503c8991ebf4eed3390904b5e62b0775d31 (diff)
Only build tests when unit tests are enabled.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 16502ee..0b45a2d 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,3 +1,4 @@
+if ENABLE_UNIT_TESTS
AM_CPPFLAGS = -I$(top_srcdir)/src
AM_CFLAGS = $(XORG_CFLAGS) $(CWARNFLAGS)
fake_syms = fake-symbols.c fake-symbols.h
@@ -10,6 +11,5 @@ eventcomm_test_SOURCES = eventcomm-test.c\
$(fake_syms)
endif
-if ENABLE_UNIT_TESTS
TESTS = $(noinst_PROGRAMS)
endif