[Pkg-gnupg-commit] [gnupg2] 16/166: tests: Skip GPGME tests that are not built.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Mar 16 22:33:01 UTC 2017
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gnupg2.
commit 5f2da5d439debf44615a97de788d8f720b517972
Author: Justus Winter <justus at g10code.com>
Date: Wed Jan 25 11:18:23 2017 +0100
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 at g10code.com>
---
tests/gpgme/wrap.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/tests/gpgme/wrap.scm b/tests/gpgme/wrap.scm
index 4f3ae7d..e8f2b1f 100644
--- a/tests/gpgme/wrap.scm
+++ b/tests/gpgme/wrap.scm
@@ -56,5 +56,8 @@
(log "Importing extra key...")
(call-check `(, at 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"))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list