diff options
author | Robin Burchell <robin.burchell@viroteck.net> | 2015-08-31 10:58:21 +0200 |
---|---|---|
committer | Robin Burchell <robin.burchell@viroteck.net> | 2016-01-03 02:14:19 +0000 |
commit | 824661293d78d2a7733cf8ba99ec8eb75403679d (patch) | |
tree | 49191250b90993c66d3da161c9d49bf0f239b92d /tests | |
parent | 03e099fa9c2d51c5f87581562702571ae8825e45 (diff) |
tests.pri: CONFIG += testcase, not unittest.
unittest does absolutely nothing. testcase enables make check, which means the
CI will be able to run unit tests soon.
To make this pass CI, we also modify the tests a bit, as some tests
don't build/pass on Windows at this time.
Change-Id: I12b077f8818883a253c8aecc5efca3092d8bcca8
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.pri | 2 | ||||
-rw-r--r-- | tests/tests.pro | 14 |
2 files changed, 11 insertions, 5 deletions
diff --git a/tests/tests.pri b/tests/tests.pri index 9c785b4c..623b19ca 100644 --- a/tests/tests.pri +++ b/tests/tests.pri @@ -1,6 +1,6 @@ QT -= gui QT += testlib -CONFIG += unittest +CONFIG += testcase QT += qmfclient qmfclient-private target.path += $$QMF_INSTALL_ROOT/tests5 diff --git a/tests/tests.pro b/tests/tests.pro index c03b307f..383d8419 100644 --- a/tests/tests.pro +++ b/tests/tests.pro @@ -17,15 +17,21 @@ SUBDIRS = \ tst_qmailstorageaction \ tst_qmail_sortkeys \ tst_qmail_listmodels \ - tst_qmaillog \ - tst_qcop \ tst_storagemanager \ tst_qmaildisconnected \ tst_qmailnamespace \ - tst_qlogsystem \ tst_locks \ - tst_qmailthread \ + tst_qmailthread +# these tests fail to build/pass on windows. +# longer term, we should remove this stuff entirely in favour of Qt's +# categorised logging. +!win32 { + SUBDIRS += \ + tst_qmaillog \ + tst_qcop \ + tst_qlogsystem +} CONFIG += unittest |