aboutsummaryrefslogtreecommitdiffstats
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
commitb17f7efba0d25807eb184393afaa412fb8559787 (patch)
treeffb24684a3d196689376551371fe09b81f86fa3d
parentgpgscm: Move 'trace' and 'stringify'. (diff)
downloadlibgpg-error-b17f7efba0d25807eb184393afaa412fb8559787.tar.gz
libgpg-error-b17f7efba0d25807eb184393afaa412fb8559787.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]>
-rw-r--r--tests.scm2
1 files changed, 1 insertions, 1 deletions
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.