[Pkg-gnupg-commit] [gpgme] 211/412: Qt: Disable t-tofuinfo tests

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Sep 22 21:26:49 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 02babb29612d554c37b63a49f78acc45653b557e
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Mon Jul 11 12:01:35 2016 +0200

    Qt: Disable t-tofuinfo tests
    
    * lang/qt/tests/t-tofuinfo.cpp: Disable tests.
    
    --
    Even with the wait this test could fail and anyway the delay
    was not nice. So we remove the wait hack and just wait for
    the bug (2405) to be fixed in GnuPG or GpgME core.
---
 lang/qt/tests/t-tofuinfo.cpp | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/lang/qt/tests/t-tofuinfo.cpp b/lang/qt/tests/t-tofuinfo.cpp
index a27dd93..f9634b2 100644
--- a/lang/qt/tests/t-tofuinfo.cpp
+++ b/lang/qt/tests/t-tofuinfo.cpp
@@ -100,14 +100,12 @@ class TofuInfoTest: public QObject
             Q_ASSERT(!strcmp(stats.fingerprint(), sig.fingerprint()));
             Q_ASSERT(stats.signCount() == expected);
         }
-        /* FIXME: GnuPG-Bug-Id 2405 makes the wait necessary. */
-        QTest::qWait(1000);
     }
 
 private:
     QTemporaryDir mDir;
 
-private Q_SLOTS:
+private /* FIXME Disabled until GnuPG-Bug-Id 2405 is fixed Q_SLOTS */:
     void testTofuNull()
     {
         TofuInfo tofu;
@@ -156,8 +154,6 @@ private Q_SLOTS:
 
         /* Another verify */
 
-        /* FIXME: GnuPG-Bug-Id 2405 makes the wait necessary. */
-        QTest::qWait(1000);
         job = openpgp()->verifyOpaqueJob(true);
         result = job->exec(data1, plaintext);
 

-- 
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