1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

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 <justus@g10code.com>
This commit is contained in:
Justus Winter 2017-03-14 12:45:29 +01:00
parent 40b7911130
commit d82abbb1b6
No known key found for this signature in database
GPG key ID: DD1A52F9DA8C9020
3 changed files with 13 additions and 4 deletions

View file

@ -71,5 +71,7 @@
-- ,@(:path cmpnts))))
(if (null? tests) (all-tests makefile (:key cmpnts)) tests))))
`((("tests" "gpg") "c_tests" ,setup-c)
(("lang" "python" "tests") "py_tests" ,setup-py)
,@(if (run-python-tests?)
`((("lang" "python" "tests") "py_tests" ,setup-py))
'())
(("lang" "qt" "tests") "TESTS" ,setup-c))))))