summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2014-05-06 19:25:52 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2014-05-06 19:25:52 +0100
commitd783d832f4a45b93492431c5ec73ef5f8cd1d4c4 (patch)
treec75a9742df501c1710cbbe648c099393426b4968
parent7eef7644aa15f4cbe8a5c564d06c73211e8ffe84 (diff)
tests: Fix builddir ≠ srcdir problems
Also ensure all the right test files are distributed.
-rw-r--r--tests/Makefile.am11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 2adc412..cb34306 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -3,9 +3,9 @@
# with gnome-clang (and -Werror).
TEST_EXTENSIONS = .c
-C_LOG_COMPILER = ./wrapper-compiler-errors
+C_LOG_COMPILER = $(top_srcdir)/tests/wrapper-compiler-errors
-TESTS = \
+c_tests = \
assertion-extraction.c \
assertion-extraction-return.c \
gvariant-builder.c \
@@ -28,6 +28,11 @@ templates = \
gvariant.tail.c \
$(NULL)
-EXTRA_DIST = $(templates)
+TESTS = $(c_tests)
+EXTRA_DIST = \
+ $(templates) \
+ $(c_tests) \
+ wrapper-compiler-errors \
+ $(NULL)
-include $(top_srcdir)/git.mk