[Pkg-gnupg-commit] [gpgme] 114/132: qt: Initialize library first in tests

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Apr 26 01:01:36 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gpgme.

commit 121873b821636052c10d9e0bd885eb9013c52096
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Wed Mar 22 16:34:29 2017 +0100

    qt: Initialize library first in tests
    
    * lang/qt/tests/t-support.cpp (QGpgMETest::initTestCase): Initialize
    library.
---
 lang/qt/tests/t-support.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lang/qt/tests/t-support.cpp b/lang/qt/tests/t-support.cpp
index 857d0a3..b3a7a70 100644
--- a/lang/qt/tests/t-support.cpp
+++ b/lang/qt/tests/t-support.cpp
@@ -34,6 +34,7 @@
 #endif
 
 #include "t-support.h"
+#include "context.h"
 
 #include <QTest>
 
@@ -44,6 +45,7 @@
 
 void QGpgMETest::initTestCase()
 {
+    GpgME::initializeLibrary();
     const QString gpgHome = qgetenv("GNUPGHOME");
     QVERIFY2(!gpgHome.isEmpty(), "GNUPGHOME environment variable is not set.");
 }

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