aboutsummaryrefslogtreecommitdiffstats
path: root/tests/migrations/run-tests.scm
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-03-22 11:40:42 +0000
committerJustus Winter <[email protected]>2017-04-24 12:14:05 +0000
commited4d23d75e8ba89e998b88a4f862661c81f665a3 (patch)
tree7e956da634802ab2d802f5e5d9e208932d606926 /tests/migrations/run-tests.scm
parentgpgscm: Move 'trace' and 'stringify'. (diff)
downloadgnupg-ed4d23d75e8ba89e998b88a4f862661c81f665a3.tar.gz
gnupg-ed4d23d75e8ba89e998b88a4f862661c81f665a3.zip
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 <[email protected]>
Diffstat (limited to '')
-rw-r--r--tests/migrations/run-tests.scm5
1 files changed, 4 insertions, 1 deletions
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)))