[tracker/tracker-0.14] functional-tests: Fix out-of-tree build
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.14] functional-tests: Fix out-of-tree build
- Date: Thu, 5 Jul 2012 16:25:44 +0000 (UTC)
commit e452735baa08299f21b883c090a4743faf1460e4
Author: Sam Thursfield <sam thursfield codethink co uk>
Date: Mon Jan 9 18:17:54 2012 +0000
functional-tests: Fix out-of-tree build
tests/functional-tests/Makefile.am | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/tests/functional-tests/Makefile.am b/tests/functional-tests/Makefile.am
index 5eacc02..73e5ef2 100644
--- a/tests/functional-tests/Makefile.am
+++ b/tests/functional-tests/Makefile.am
@@ -69,13 +69,13 @@ tests.xml:
@if test -h /targets/links/scratchbox.config ; then \
export SBOX_REDIRECT_IGNORE=/usr/bin/python ; \
fi;
- ./create-tests-xml.py $(standard_tests) > tests.xml
+ $(top_srcdir)/tests/functional-tests/create-tests-xml.py $(standard_tests) > tests.xml
tracker-tests.aegis:
@if test -h /targets/links/scratchbox.config ; then \
export SBOX_REDIRECT_IGNORE=/usr/bin/python ; \
fi;
- ./create-tests-aegis.py $(standard_tests) > tracker-tests.aegis
+ $(top_srcdir)/tests/functional-tests/create-tests-aegis.py $(standard_tests) > tracker-tests.aegis
10-sqlite-misused.py: ttl/gen-test-data.stamp
11-sqlite-misused-batch.py: ttl/gen-test-data.stamp
@@ -84,14 +84,16 @@ tracker-tests.aegis:
ttl/gen-test-data.stamp:
cd ttl && $(MAKE) $(AM_MAKEFLAGS)
+TEST_RUNNER = $(top_srcdir)/tests/functional-tests/test-runner.sh
+
functional-test: ${standard_tests}
for test in ${standard_tests} ; do \
- ./test-runner.sh python ./$$test; \
+ $(TEST_RUNNER) python $(top_srcdir)/tests/functional-tests/$$test; \
done
functional-test-slow: ${slow_tests}
@for test in ${slow_tests} ; do \
- ./test-runner.sh python ./$$test; \
+ $(TEST_RUNNER) python $(top_srcdir)/tests/functional-tests/$$test; \
done
EXTRA_DIST = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]