tests: do not run the testlib selftest helpers during `make check'
authorRohan McGovern <rohan.mcgovern@nokia.com>
Mon, 18 Jul 2011 23:24:27 +0000 (09:24 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 19 Jul 2011 11:11:40 +0000 (13:11 +0200)
These projects are conceptually not autotests, but more like helper
programs for the tst_selftests autotest.  Some of them are expected to
fail, so they should not be run except via tst_selftests.

Change-Id: Iba8e4242e8dad9f92874ae690c9f4d9814758f4b
Reviewed-on: http://codereview.qt.nokia.com/1791
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
35 files changed:
tests/auto/selftests/alive/alive.pro
tests/auto/selftests/assert/assert.pro
tests/auto/selftests/badxml/badxml.pro
tests/auto/selftests/benchlibcallgrind/benchlibcallgrind.pro
tests/auto/selftests/benchlibeventcounter/benchlibeventcounter.pro
tests/auto/selftests/benchliboptions/benchliboptions.pro
tests/auto/selftests/benchlibtickcounter/benchlibtickcounter.pro
tests/auto/selftests/benchlibwalltime/benchlibwalltime.pro
tests/auto/selftests/cmptest/cmptest.pro
tests/auto/selftests/commandlinedata/commandlinedata.pro
tests/auto/selftests/crashes/crashes.pro
tests/auto/selftests/datatable/datatable.pro
tests/auto/selftests/datetime/datetime.pro
tests/auto/selftests/differentexec/differentexec.pro
tests/auto/selftests/exceptionthrow/exceptionthrow.pro
tests/auto/selftests/expectfail/expectfail.pro
tests/auto/selftests/failinit/failinit.pro
tests/auto/selftests/failinitdata/failinitdata.pro
tests/auto/selftests/fetchbogus/fetchbogus.pro
tests/auto/selftests/globaldata/globaldata.pro
tests/auto/selftests/longstring/longstring.pro
tests/auto/selftests/maxwarnings/maxwarnings.pro
tests/auto/selftests/multiexec/multiexec.pro
tests/auto/selftests/qexecstringlist/qexecstringlist.pro
tests/auto/selftests/singleskip/singleskip.pro
tests/auto/selftests/skip/skip.pro
tests/auto/selftests/skipglobal/skipglobal.pro
tests/auto/selftests/skipinit/skipinit.pro
tests/auto/selftests/skipinitdata/skipinitdata.pro
tests/auto/selftests/sleep/sleep.pro
tests/auto/selftests/strcmp/strcmp.pro
tests/auto/selftests/subtest/subtest.pro
tests/auto/selftests/waitwithoutgui/waitwithoutgui.pro
tests/auto/selftests/warnings/warnings.pro
tests/auto/selftests/xunit/xunit.pro

index 08cf358..7660933 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_alive.cpp
 
 mac:CONFIG -= app_bundle
index 0e48375..e8d60bd 100644 (file)
@@ -1,5 +1,8 @@
 load(qttest_p4)
 
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_assert.cpp
 QT = core
 
index 323791a..f55636d 100644 (file)
@@ -1,5 +1,8 @@
 load(qttest_p4)
 
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_badxml.cpp
 QT = core
 
index c9ec7e2..50d056e 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_benchlibcallgrind.cpp
 QT = core
 
index 44b0295..de97867 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_benchlibeventcounter.cpp
 QT = core
 
index 4dee69f..1185630 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_benchliboptions.cpp
 QT = core
 
index 4f7f141..b83ef44 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_benchlibtickcounter.cpp
 QT = core testlib-private
 
index f4694b5..83b383d 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_benchlibwalltime.cpp
 QT = core
 
index 8b2df1c..9c14987 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_cmptest.cpp
 QT = core
 
index 96bfa5b..e10ec40 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_commandlinedata.cpp
 QT = core
 
index 7eec6ea..8162e5c 100644 (file)
@@ -1,5 +1,8 @@
 load(qttest_p4)
 
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_crashes.cpp
 QT = core
 
index 98f04d6..865e00e 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_datatable.cpp
 QT = core
 
index b015661..34d6169 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_datetime.cpp
 QT = core
 
index c11b0d3..84e20ee 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_differentexec.cpp
 QT = core
 
index 641818c..62c782f 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_exceptionthrow.cpp
 QT = core
 
index 97a3560..1e96018 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_expectfail.cpp
 QT = core
 
index e3d54c8..0eedd06 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_failinit.cpp
 QT = core
 
index 1ff96f7..61f3937 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_failinitdata.cpp
 QT = core
 
index 3a5d13b..9a5e095 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_fetchbogus.cpp
 QT = core
 
index 1bdcf07..71a243f 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_globaldata.cpp
 QT = core
 
index b917481..d496691 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_longstring.cpp
 QT = core
 
index 393a964..42a122d 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += maxwarnings.cpp
 QT = core
 
index 639b9b8..5a3f5af 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_multiexec.cpp
 QT = core
 
index 73bdaca..d994cea 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_qexecstringlist.cpp
 QT = core
 
index 9762c97..34a0f72 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_singleskip.cpp
 QT = core
 
index 989fdeb..4f4b486 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_skip.cpp
 QT = core
 
index 0205a88..fb8d40c 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_skipglobal.cpp
 QT = core
 
index 6912183..3d458f3 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_skipinit.cpp
 QT = core
 
index 206ed11..26119eb 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_skipinitdata.cpp
 QT = core
 
index 0bd3225..d963e73 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_sleep.cpp
 QT = core
 
index 3121c25..8cf1caa 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_strcmp.cpp
 QT = core
 
index fe3cafa..ac23779 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_subtest.cpp
 QT = core
 
index cf3098d..6c28390 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 QT -= gui
 SOURCES += tst_waitwithoutgui.cpp
 
index eaf06b4..147d96a 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES += tst_warnings.cpp
 QT = core
 
index 55aca4a..e523520 100644 (file)
@@ -1,4 +1,8 @@
 load(qttest_p4)
+
+# this is not a real testcase ('make check' should not run it)
+CONFIG -= testcase
+
 SOURCES  += tst_xunit.cpp
 
 mac:CONFIG -= app_bundle