aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-07-14 15:03:05 +0000
committerAndre Heinecke <[email protected]>2016-07-14 15:03:05 +0000
commitd2f2cbd297c4d2f2c3264ecc3ffb7a2b3a70bd55 (patch)
tree09cd485ce3ca36f2c3ef542e00a530bc40ce83e2
parentCpp: Add EngineInfo::Version class (diff)
downloadgpgme-d2f2cbd297c4d2f2c3264ecc3ffb7a2b3a70bd55.tar.gz
gpgme-d2f2cbd297c4d2f2c3264ecc3ffb7a2b3a70bd55.zip
Qt: Disable keylocate test for gnupg < 2.0.10
* lang/qt/tests/t-keylocate.cpp: Disable test for gnupg < 2.0.10
Diffstat (limited to '')
-rw-r--r--lang/qt/tests/t-keylocate.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/qt/tests/t-keylocate.cpp b/lang/qt/tests/t-keylocate.cpp
index 43aaf1c4..5f52cc30 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("[email protected]");