diff options
author | Andre Heinecke <[email protected]> | 2016-04-03 09:48:46 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-04-03 09:48:46 +0000 |
commit | faf987dd62893955251378a2a715edd2892a540c (patch) | |
tree | 5072f5a79493fa048a1c19312ab943859c5c0e7c /m4 | |
parent | Qt: Add missing MOC includes (diff) | |
download | gpgme-faf987dd62893955251378a2a715edd2892a540c.tar.gz gpgme-faf987dd62893955251378a2a715edd2892a540c.zip |
Qt: Add a unit test for qgpgme
* configure.ac: Configure test Makefile.
* m4/qt.m4: Look up Qt5Test flags.
* lang/qt/tests/t-keylist.cpp: New. Simple keylist check.
* lang/qt/tests/Makefile.am: New. General test framework.
--
This test mostly checks that it basically compiles / works and
adds a test framework.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/qt.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -18,6 +18,11 @@ AC_DEFUN([FIND_QT], [have_qt5_libs="yes"], [have_qt5_libs="no"]) + PKG_CHECK_MODULES(GPGME_QTTEST, + Qt5Test >= 5.0.0, + [have_qt5test_libs="yes"], + [have_qt5test_libs="no"]) + if "$PKG_CONFIG" --variable qt_config Qt5Core | grep -q "reduce_relocations"; then GPGME_QT_CFLAGS="$GPGME_QT_CFLAGS -fpic" fi |