aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpgme/wrap.scm
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-03-14 11:45:29 +0000
committerJustus Winter <[email protected]>2017-03-14 11:45:29 +0000
commitd82abbb1b6e80d5980e6259ddcfc770e65a6b1b3 (patch)
tree47bd14393769906e645190aec855fc91f4306d8d /tests/gpgme/wrap.scm
parentdoc: Explain in README how to create /run/user directories. (diff)
downloadgnupg-d82abbb1b6e80d5980e6259ddcfc770e65a6b1b3.tar.gz
gnupg-d82abbb1b6e80d5980e6259ddcfc770e65a6b1b3.zip
tests: Skip Python tests if the bindings are not built.
* tests/gpgme/wrap.scm (python): Move variable... * tests/gpgme/gpgme-defs.scm (python): ... here. (run-python-tests?): New function. * tests/gpgme/run-tests.scm: Only run Python tests if the bindings can be located in GPGME's build directory. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tests/gpgme/wrap.scm')
-rw-r--r--tests/gpgme/wrap.scm3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/gpgme/wrap.scm b/tests/gpgme/wrap.scm
index d338892b9..4c96a09ab 100644
--- a/tests/gpgme/wrap.scm
+++ b/tests/gpgme/wrap.scm
@@ -29,9 +29,6 @@
(setenv "top_srcdir" gpgme-srcdir #t)
(setenv "srcdir" (path-join gpgme-srcdir "tests" "gpg") #t)
-(define python (catch #f
- (path-expand "python" (string-split (getenv "PATH") *pathsep*))))
-
(define (run what)
(if (string-suffix? (car what) ".py")
(begin