From ed4d23d75e8ba89e998b88a4f862661c81f665a3 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 22 Mar 2017 12:40:42 +0100 Subject: tests: Locate resources and scripts relative to top source dir. -- Locate every resource and every script used in the tests using a path relative to the top of the source tree. This is a purely mechanical change, mostly done using regular expressions, with a few manual fixups here and there. Signed-off-by: Justus Winter --- tests/migrations/run-tests.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/migrations/run-tests.scm') diff --git a/tests/migrations/run-tests.scm b/tests/migrations/run-tests.scm index b4ad260bb..1e4bb704b 100644 --- a/tests/migrations/run-tests.scm +++ b/tests/migrations/run-tests.scm @@ -22,4 +22,7 @@ (> (length tests) 1)) run-tests-parallel run-tests-sequential))) - (runner (map (lambda (t) (test::scm #f t t)) tests))) + (runner (map (lambda (name) + (test::scm #f + (path-join "tests" "migrations" name) + (in-srcdir "tests" "migrations" name))) tests))) -- cgit v1.2.3