From b17f7efba0d25807eb184393afaa412fb8559787 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.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests.scm b/tests.scm index 4107889..e8cea85 100644 --- a/tests.scm +++ b/tests.scm @@ -189,7 +189,7 @@ (if (absolute-path? path) path (path-join (getcwd) path))) (define (in-srcdir . names) - (canonical-path (apply path-join (cons (getenv "srcdir") names)))) + (canonical-path (apply path-join (cons (getenv "abs_top_srcdir") names)))) ;; Try to find NAME in PATHS. Returns the full path name on success, ;; or raises an error. -- cgit v1.2.3