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:
parent
40b7911130
commit
d82abbb1b6
3 changed files with 13 additions and 4 deletions
|
@ -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))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue