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/gpgme/wrap.scm | |
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/gpgme/wrap.scm')
-rw-r--r-- | tests/gpgme/wrap.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gpgme/wrap.scm b/tests/gpgme/wrap.scm index eb416f499..9a20d5003 100644 --- a/tests/gpgme/wrap.scm +++ b/tests/gpgme/wrap.scm @@ -17,7 +17,7 @@ ;; You should have received a copy of the GNU General Public License ;; along with this program; if not, see <http://www.gnu.org/licenses/>. -(load (with-path "gpgme-defs.scm")) +(load (in-srcdir "tests" "gpgme" "gpgme-defs.scm")) (define executable (flag "--executable" *args*)) (unless (and executable (not (null? executable))) @@ -28,6 +28,7 @@ (setenv "abs_builddir" (getcwd) #t) (setenv "top_srcdir" gpgme-srcdir #t) (setenv "srcdir" (path-join gpgme-srcdir "tests" "gpg") #t) +(setenv "abs_top_srcdir" (path-join gpgme-srcdir "tests" "gpg") #t) (define (run what) (if (string-suffix? (car what) ".py") |