Qt: Disable keylocate test for gnupg < 2.0.10
* lang/qt/tests/t-keylocate.cpp: Disable test for gnupg < 2.0.10
This commit is contained in:
parent
41de1ab904
commit
d2f2cbd297
@ -35,6 +35,7 @@
|
|||||||
#include "keylistjob.h"
|
#include "keylistjob.h"
|
||||||
#include "protocol.h"
|
#include "protocol.h"
|
||||||
#include "keylistresult.h"
|
#include "keylistresult.h"
|
||||||
|
#include "engineinfo.h"
|
||||||
|
|
||||||
using namespace QGpgME;
|
using namespace QGpgME;
|
||||||
using namespace GpgME;
|
using namespace GpgME;
|
||||||
@ -88,6 +89,9 @@ private Q_SLOTS:
|
|||||||
|
|
||||||
void testKeyLocateSingle()
|
void testKeyLocateSingle()
|
||||||
{
|
{
|
||||||
|
if (GpgME::engineInfo(GpgME::GpgEngine).engineVersion() < "2.0.10") {
|
||||||
|
return;
|
||||||
|
}
|
||||||
auto *job = openpgp()->locateKeysJob();
|
auto *job = openpgp()->locateKeysJob();
|
||||||
mTestpattern = QStringLiteral("alfa@example.net");
|
mTestpattern = QStringLiteral("alfa@example.net");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user