[Pkg-gnupg-commit] [gpgme] 237/412: Qt: Disable keylocate test for gnupg < 2.0.10
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Sep 22 21:26:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gpgme.
commit d2f2cbd297c4d2f2c3264ecc3ffb7a2b3a70bd55
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Thu Jul 14 17:03:05 2016 +0200
Qt: Disable keylocate test for gnupg < 2.0.10
* lang/qt/tests/t-keylocate.cpp: Disable test for gnupg < 2.0.10
---
lang/qt/tests/t-keylocate.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lang/qt/tests/t-keylocate.cpp b/lang/qt/tests/t-keylocate.cpp
index 43aaf1c..5f52cc3 100644
--- a/lang/qt/tests/t-keylocate.cpp
+++ b/lang/qt/tests/t-keylocate.cpp
@@ -35,6 +35,7 @@
#include "keylistjob.h"
#include "protocol.h"
#include "keylistresult.h"
+#include "engineinfo.h"
using namespace QGpgME;
using namespace GpgME;
@@ -88,6 +89,9 @@ private Q_SLOTS:
void testKeyLocateSingle()
{
+ if (GpgME::engineInfo(GpgME::GpgEngine).engineVersion() < "2.0.10") {
+ return;
+ }
auto *job = openpgp()->locateKeysJob();
mTestpattern = QStringLiteral("alfa at example.net");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list