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>
55 lines
2.6 KiB
Plaintext
55 lines
2.6 KiB
Plaintext
********* Start testing of tst_Counting *********
|
|
Config: Using QtTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
|
|
PASS : tst_Counting::initTestCase()
|
|
PASS : tst_Counting::testPassPass(row 1)
|
|
PASS : tst_Counting::testPassPass(row 2)
|
|
PASS : tst_Counting::testPassSkip(row 1)
|
|
SKIP : tst_Counting::testPassSkip(row 2) Skipping
|
|
Loc: [tst_counting.cpp(118)]
|
|
PASS : tst_Counting::testPassFail(row 1)
|
|
FAIL! : tst_Counting::testPassFail(row 2) 'false' returned FALSE. ()
|
|
Loc: [tst_counting.cpp(115)]
|
|
SKIP : tst_Counting::testSkipPass(row 1) Skipping
|
|
Loc: [tst_counting.cpp(118)]
|
|
PASS : tst_Counting::testSkipPass(row 2)
|
|
SKIP : tst_Counting::testSkipSkip(row 1) Skipping
|
|
Loc: [tst_counting.cpp(118)]
|
|
SKIP : tst_Counting::testSkipSkip(row 2) Skipping
|
|
Loc: [tst_counting.cpp(118)]
|
|
SKIP : tst_Counting::testSkipFail(row 1) Skipping
|
|
Loc: [tst_counting.cpp(118)]
|
|
FAIL! : tst_Counting::testSkipFail(row 2) 'false' returned FALSE. ()
|
|
Loc: [tst_counting.cpp(115)]
|
|
FAIL! : tst_Counting::testFailPass(row 1) 'false' returned FALSE. ()
|
|
Loc: [tst_counting.cpp(115)]
|
|
PASS : tst_Counting::testFailPass(row 2)
|
|
FAIL! : tst_Counting::testFailSkip(row 1) 'false' returned FALSE. ()
|
|
Loc: [tst_counting.cpp(115)]
|
|
SKIP : tst_Counting::testFailSkip(row 2) Skipping
|
|
Loc: [tst_counting.cpp(118)]
|
|
FAIL! : tst_Counting::testFailFail(row 1) 'false' returned FALSE. ()
|
|
Loc: [tst_counting.cpp(115)]
|
|
FAIL! : tst_Counting::testFailFail(row 2) 'false' returned FALSE. ()
|
|
Loc: [tst_counting.cpp(115)]
|
|
PASS : tst_Counting::testFailInInit(before)
|
|
FAIL! : tst_Counting::testFailInInit(fail) Fail in init()
|
|
Loc: [tst_counting.cpp(234)]
|
|
PASS : tst_Counting::testFailInInit(after)
|
|
PASS : tst_Counting::testFailInCleanup(before)
|
|
QDEBUG : tst_Counting::testFailInCleanup(fail) This test function should execute and then QFAIL in cleanup()
|
|
FAIL! : tst_Counting::testFailInCleanup(fail) Fail in cleanup()
|
|
Loc: [tst_counting.cpp(242)]
|
|
PASS : tst_Counting::testFailInCleanup(after)
|
|
PASS : tst_Counting::testSkipInInit(before)
|
|
SKIP : tst_Counting::testSkipInInit(skip) Skip in init()
|
|
Loc: [tst_counting.cpp(236)]
|
|
PASS : tst_Counting::testSkipInInit(after)
|
|
PASS : tst_Counting::testSkipInCleanup(before)
|
|
QDEBUG : tst_Counting::testSkipInCleanup(skip) This test function should execute and then QSKIP in cleanup()
|
|
SKIP : tst_Counting::testSkipInCleanup(skip) Skip in cleanup()
|
|
Loc: [tst_counting.cpp(244)]
|
|
PASS : tst_Counting::testSkipInCleanup(after)
|
|
PASS : tst_Counting::cleanupTestCase()
|
|
Totals: 16 passed, 8 failed, 8 skipped, 0 blacklisted
|
|
********* Finished testing of tst_Counting *********
|