tests: Skip GPGME tests that are not built.

* tests/gpgme/wrap.scm: Skip tests that are not built.
--
Previously, all tests from GPGME's test suite that were not built
(e.g. because GPGME was not configured with QT) were marked as
failures.

Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
Justus Winter 2017-01-25 11:18:23 +01:00
parent 6ecd8b3e71
commit 5f2da5d439
1 changed files with 5 additions and 2 deletions

View File

@ -56,5 +56,8 @@
(log "Importing extra key...")
(call-check `(,@GPG --yes --import ,(in-srcdir "pubkey-1.asc"))))))
(log "Running" (car executable))
(exit (run executable))
(if (file-exists? (car executable))
(begin
(log "Running" (car executable))
(exit (run executable)))
(skip (car executable) "is not built"))