diff options
author | Justus Winter <[email protected]> | 2017-03-22 11:40:42 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-04-24 12:14:05 +0000 |
commit | b17f7efba0d25807eb184393afaa412fb8559787 (patch) | |
tree | ffb24684a3d196689376551371fe09b81f86fa3d | |
parent | gpgscm: Move 'trace' and 'stringify'. (diff) | |
download | libgpg-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.scm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |