summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-11-07 13:24:39 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-11-07 13:24:39 +1000
commit5e0f20da120f7edbcff93e3aee984db71995007c (patch)
tree17d1fe976b2b3ccbad5f12cfbe749b112f2159ce
parent01f768602b1a6875e7893ce6fbc151641b9238d2 (diff)
test: conf paths must be absolute
make distcheck fails since the tests are not run from the test/ directory Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--test/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 396a842..be0fc31 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -56,7 +56,7 @@ process_test_helper_CPPFLAGS = $(AM_CPPFLAGS)
xserver_test_SOURCES = xserver-test.cpp
xserver_test_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/include \
- -DDUMMY_CONF_PATH="\"$(top_srcdir)/data/xorg/gtest/dummy.conf\""
+ -DDUMMY_CONF_PATH="\"$(abs_top_srcdir)/data/xorg/gtest/dummy.conf\""
xserver_test_LDADD = $(tests_libraries)
xserver_test_helper_SOURCES = xserver-test-helper.cpp
@@ -79,7 +79,7 @@ libxorg_gtest_a_CPPFLAGS = \
$(AM_CPPFLAGS) \
-I$(top_srcdir)/include \
-I$(top_srcdir) \
- -DDUMMY_CONF_PATH="\"$(top_srcdir)/data/xorg/gtest/dummy.conf\""
+ -DDUMMY_CONF_PATH="\"$(abs_top_srcdir)/data/xorg/gtest/dummy.conf\""
libxorg_gtest_a_CXXFLAGS = $(AM_CXXFLAGS)
if ENABLE_XORG_GTEST_TESTS