diff options
author | Justus Winter <justus@g10code.com> | 2017-03-22 12:40:42 +0100 |
---|---|---|
committer | Justus Winter <justus@g10code.com> | 2017-04-24 14:14:05 +0200 |
commit | ed4d23d75e8ba89e998b88a4f862661c81f665a3 (patch) | |
tree | 7e956da634802ab2d802f5e5d9e208932d606926 /tests/gpgscm | |
parent | gpgscm: Move 'trace' and 'stringify'. (diff) | |
download | gnupg2-ed4d23d75e8ba89e998b88a4f862661c81f665a3.tar.xz gnupg2-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 <justus@g10code.com>
Diffstat (limited to 'tests/gpgscm')
-rw-r--r-- | tests/gpgscm/tests.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gpgscm/tests.scm b/tests/gpgscm/tests.scm index 4107889b7..e8cea854f 100644 --- a/tests/gpgscm/tests.scm +++ b/tests/gpgscm/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. |