10414444e1
We need to have a finer grained control over the tests we skip in our CI system. This adds a blacklisting mechanism that allows blacklisting individual test functions (or even test data) using a set of predefined matching keys for the operating system and some other relevant variables. QTestlib will search for a file called BLACKLIST in the test directory and parse it if found. The file contains a simple ini style list of functions to blacklist. For details see qtestblacklist.cpp. Change-Id: Id3fae4b264ca99970cbf9f45bfb85fa75c1fd823 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
********* Start testing of tst_Xunit *********
|
|
Config: Using QtTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
|
|
PASS : tst_Xunit::initTestCase()
|
|
WARNING: tst_Xunit::testFunc1() just a QWARN() !
|
|
Loc: [tst_xunit.cpp(67)]
|
|
PASS : tst_Xunit::testFunc1()
|
|
QDEBUG : tst_Xunit::testFunc2() a qDebug() call with comment-ending stuff -->
|
|
FAIL! : tst_Xunit::testFunc2() Compared values are not the same
|
|
Actual (2): 2
|
|
Expected (3): 3
|
|
Loc: [tst_xunit.cpp(74)]
|
|
SKIP : tst_Xunit::testFunc3() skipping this function!
|
|
Loc: [tst_xunit.cpp(79)]
|
|
FAIL! : tst_Xunit::testFunc4() a forced failure!
|
|
Loc: [tst_xunit.cpp(84)]
|
|
XFAIL : tst_Xunit::testFunc5() this failure is expected
|
|
Loc: [tst_xunit.cpp(98)]
|
|
PASS : tst_Xunit::testFunc5()
|
|
XFAIL : tst_Xunit::testFunc6() this failure is also expected
|
|
Loc: [tst_xunit.cpp(104)]
|
|
PASS : tst_Xunit::testFunc6()
|
|
XPASS : tst_Xunit::testFunc7() 'true' returned TRUE unexpectedly. ()
|
|
Loc: [tst_xunit.cpp(110)]
|
|
PASS : tst_Xunit::cleanupTestCase()
|
|
Totals: 5 passed, 3 failed, 1 skipped, 0 blacklisted
|
|
********* Finished testing of tst_Xunit *********
|