From b02bc68066ba5834bca49899ef80cc3dd415809b Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Tue, 19 Jul 2011 09:24:27 +1000 Subject: tests: do not run the testlib selftest helpers during `make check' 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 Reviewed-by: Kalle Lehtonen Reviewed-by: Rohan McGovern --- tests/auto/selftests/alive/alive.pro | 4 ++++ tests/auto/selftests/assert/assert.pro | 3 +++ tests/auto/selftests/badxml/badxml.pro | 3 +++ tests/auto/selftests/benchlibcallgrind/benchlibcallgrind.pro | 4 ++++ tests/auto/selftests/benchlibeventcounter/benchlibeventcounter.pro | 4 ++++ tests/auto/selftests/benchliboptions/benchliboptions.pro | 4 ++++ tests/auto/selftests/benchlibtickcounter/benchlibtickcounter.pro | 4 ++++ tests/auto/selftests/benchlibwalltime/benchlibwalltime.pro | 4 ++++ tests/auto/selftests/cmptest/cmptest.pro | 4 ++++ tests/auto/selftests/commandlinedata/commandlinedata.pro | 4 ++++ tests/auto/selftests/crashes/crashes.pro | 3 +++ tests/auto/selftests/datatable/datatable.pro | 4 ++++ tests/auto/selftests/datetime/datetime.pro | 4 ++++ tests/auto/selftests/differentexec/differentexec.pro | 4 ++++ tests/auto/selftests/exceptionthrow/exceptionthrow.pro | 4 ++++ tests/auto/selftests/expectfail/expectfail.pro | 4 ++++ tests/auto/selftests/failinit/failinit.pro | 4 ++++ tests/auto/selftests/failinitdata/failinitdata.pro | 4 ++++ tests/auto/selftests/fetchbogus/fetchbogus.pro | 4 ++++ tests/auto/selftests/globaldata/globaldata.pro | 4 ++++ tests/auto/selftests/longstring/longstring.pro | 4 ++++ tests/auto/selftests/maxwarnings/maxwarnings.pro | 4 ++++ tests/auto/selftests/multiexec/multiexec.pro | 4 ++++ tests/auto/selftests/qexecstringlist/qexecstringlist.pro | 4 ++++ tests/auto/selftests/singleskip/singleskip.pro | 4 ++++ tests/auto/selftests/skip/skip.pro | 4 ++++ tests/auto/selftests/skipglobal/skipglobal.pro | 4 ++++ tests/auto/selftests/skipinit/skipinit.pro | 4 ++++ tests/auto/selftests/skipinitdata/skipinitdata.pro | 4 ++++ tests/auto/selftests/sleep/sleep.pro | 4 ++++ tests/auto/selftests/strcmp/strcmp.pro | 4 ++++ tests/auto/selftests/subtest/subtest.pro | 4 ++++ tests/auto/selftests/waitwithoutgui/waitwithoutgui.pro | 4 ++++ tests/auto/selftests/warnings/warnings.pro | 4 ++++ tests/auto/selftests/xunit/xunit.pro | 4 ++++ 35 files changed, 137 insertions(+) diff --git a/tests/auto/selftests/alive/alive.pro b/tests/auto/selftests/alive/alive.pro index 08cf358036..7660933a58 100644 --- a/tests/auto/selftests/alive/alive.pro +++ b/tests/auto/selftests/alive/alive.pro @@ -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 diff --git a/tests/auto/selftests/assert/assert.pro b/tests/auto/selftests/assert/assert.pro index 0e48375784..e8d60bda6d 100644 --- a/tests/auto/selftests/assert/assert.pro +++ b/tests/auto/selftests/assert/assert.pro @@ -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 diff --git a/tests/auto/selftests/badxml/badxml.pro b/tests/auto/selftests/badxml/badxml.pro index 323791a17c..f55636de2b 100644 --- a/tests/auto/selftests/badxml/badxml.pro +++ b/tests/auto/selftests/badxml/badxml.pro @@ -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 diff --git a/tests/auto/selftests/benchlibcallgrind/benchlibcallgrind.pro b/tests/auto/selftests/benchlibcallgrind/benchlibcallgrind.pro index c9ec7e237f..50d056eae4 100644 --- a/tests/auto/selftests/benchlibcallgrind/benchlibcallgrind.pro +++ b/tests/auto/selftests/benchlibcallgrind/benchlibcallgrind.pro @@ -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 diff --git a/tests/auto/selftests/benchlibeventcounter/benchlibeventcounter.pro b/tests/auto/selftests/benchlibeventcounter/benchlibeventcounter.pro index 44b02953b4..de978672f1 100644 --- a/tests/auto/selftests/benchlibeventcounter/benchlibeventcounter.pro +++ b/tests/auto/selftests/benchlibeventcounter/benchlibeventcounter.pro @@ -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 diff --git a/tests/auto/selftests/benchliboptions/benchliboptions.pro b/tests/auto/selftests/benchliboptions/benchliboptions.pro index 4dee69fa5a..118563003f 100644 --- a/tests/auto/selftests/benchliboptions/benchliboptions.pro +++ b/tests/auto/selftests/benchliboptions/benchliboptions.pro @@ -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 diff --git a/tests/auto/selftests/benchlibtickcounter/benchlibtickcounter.pro b/tests/auto/selftests/benchlibtickcounter/benchlibtickcounter.pro index 4f7f141a58..b83ef441e1 100644 --- a/tests/auto/selftests/benchlibtickcounter/benchlibtickcounter.pro +++ b/tests/auto/selftests/benchlibtickcounter/benchlibtickcounter.pro @@ -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 diff --git a/tests/auto/selftests/benchlibwalltime/benchlibwalltime.pro b/tests/auto/selftests/benchlibwalltime/benchlibwalltime.pro index f4694b59ad..83b383da87 100644 --- a/tests/auto/selftests/benchlibwalltime/benchlibwalltime.pro +++ b/tests/auto/selftests/benchlibwalltime/benchlibwalltime.pro @@ -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 diff --git a/tests/auto/selftests/cmptest/cmptest.pro b/tests/auto/selftests/cmptest/cmptest.pro index 8b2df1c923..9c14987205 100644 --- a/tests/auto/selftests/cmptest/cmptest.pro +++ b/tests/auto/selftests/cmptest/cmptest.pro @@ -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 diff --git a/tests/auto/selftests/commandlinedata/commandlinedata.pro b/tests/auto/selftests/commandlinedata/commandlinedata.pro index 96bfa5b9d3..e10ec404b3 100644 --- a/tests/auto/selftests/commandlinedata/commandlinedata.pro +++ b/tests/auto/selftests/commandlinedata/commandlinedata.pro @@ -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 diff --git a/tests/auto/selftests/crashes/crashes.pro b/tests/auto/selftests/crashes/crashes.pro index 7eec6eacb1..8162e5ca0a 100644 --- a/tests/auto/selftests/crashes/crashes.pro +++ b/tests/auto/selftests/crashes/crashes.pro @@ -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 diff --git a/tests/auto/selftests/datatable/datatable.pro b/tests/auto/selftests/datatable/datatable.pro index 98f04d6864..865e00e7f1 100644 --- a/tests/auto/selftests/datatable/datatable.pro +++ b/tests/auto/selftests/datatable/datatable.pro @@ -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 diff --git a/tests/auto/selftests/datetime/datetime.pro b/tests/auto/selftests/datetime/datetime.pro index b015661371..34d6169538 100644 --- a/tests/auto/selftests/datetime/datetime.pro +++ b/tests/auto/selftests/datetime/datetime.pro @@ -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 diff --git a/tests/auto/selftests/differentexec/differentexec.pro b/tests/auto/selftests/differentexec/differentexec.pro index c11b0d3608..84e20eec03 100644 --- a/tests/auto/selftests/differentexec/differentexec.pro +++ b/tests/auto/selftests/differentexec/differentexec.pro @@ -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 diff --git a/tests/auto/selftests/exceptionthrow/exceptionthrow.pro b/tests/auto/selftests/exceptionthrow/exceptionthrow.pro index 641818ca18..62c782f6be 100644 --- a/tests/auto/selftests/exceptionthrow/exceptionthrow.pro +++ b/tests/auto/selftests/exceptionthrow/exceptionthrow.pro @@ -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 diff --git a/tests/auto/selftests/expectfail/expectfail.pro b/tests/auto/selftests/expectfail/expectfail.pro index 97a35607ef..1e96018825 100644 --- a/tests/auto/selftests/expectfail/expectfail.pro +++ b/tests/auto/selftests/expectfail/expectfail.pro @@ -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 diff --git a/tests/auto/selftests/failinit/failinit.pro b/tests/auto/selftests/failinit/failinit.pro index e3d54c860c..0eedd06427 100644 --- a/tests/auto/selftests/failinit/failinit.pro +++ b/tests/auto/selftests/failinit/failinit.pro @@ -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 diff --git a/tests/auto/selftests/failinitdata/failinitdata.pro b/tests/auto/selftests/failinitdata/failinitdata.pro index 1ff96f74eb..61f393771b 100644 --- a/tests/auto/selftests/failinitdata/failinitdata.pro +++ b/tests/auto/selftests/failinitdata/failinitdata.pro @@ -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 diff --git a/tests/auto/selftests/fetchbogus/fetchbogus.pro b/tests/auto/selftests/fetchbogus/fetchbogus.pro index 3a5d13b78e..9a5e095d0c 100644 --- a/tests/auto/selftests/fetchbogus/fetchbogus.pro +++ b/tests/auto/selftests/fetchbogus/fetchbogus.pro @@ -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 diff --git a/tests/auto/selftests/globaldata/globaldata.pro b/tests/auto/selftests/globaldata/globaldata.pro index 1bdcf07890..71a243f680 100644 --- a/tests/auto/selftests/globaldata/globaldata.pro +++ b/tests/auto/selftests/globaldata/globaldata.pro @@ -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 diff --git a/tests/auto/selftests/longstring/longstring.pro b/tests/auto/selftests/longstring/longstring.pro index b917481764..d496691e60 100644 --- a/tests/auto/selftests/longstring/longstring.pro +++ b/tests/auto/selftests/longstring/longstring.pro @@ -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 diff --git a/tests/auto/selftests/maxwarnings/maxwarnings.pro b/tests/auto/selftests/maxwarnings/maxwarnings.pro index 393a96464c..42a122d02a 100644 --- a/tests/auto/selftests/maxwarnings/maxwarnings.pro +++ b/tests/auto/selftests/maxwarnings/maxwarnings.pro @@ -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 diff --git a/tests/auto/selftests/multiexec/multiexec.pro b/tests/auto/selftests/multiexec/multiexec.pro index 639b9b8e5f..5a3f5affaf 100644 --- a/tests/auto/selftests/multiexec/multiexec.pro +++ b/tests/auto/selftests/multiexec/multiexec.pro @@ -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 diff --git a/tests/auto/selftests/qexecstringlist/qexecstringlist.pro b/tests/auto/selftests/qexecstringlist/qexecstringlist.pro index 73bdaca06e..d994ceabf3 100644 --- a/tests/auto/selftests/qexecstringlist/qexecstringlist.pro +++ b/tests/auto/selftests/qexecstringlist/qexecstringlist.pro @@ -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 diff --git a/tests/auto/selftests/singleskip/singleskip.pro b/tests/auto/selftests/singleskip/singleskip.pro index 9762c97a09..34a0f72568 100644 --- a/tests/auto/selftests/singleskip/singleskip.pro +++ b/tests/auto/selftests/singleskip/singleskip.pro @@ -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 diff --git a/tests/auto/selftests/skip/skip.pro b/tests/auto/selftests/skip/skip.pro index 989fdeb627..4f4b486ed4 100644 --- a/tests/auto/selftests/skip/skip.pro +++ b/tests/auto/selftests/skip/skip.pro @@ -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 diff --git a/tests/auto/selftests/skipglobal/skipglobal.pro b/tests/auto/selftests/skipglobal/skipglobal.pro index 0205a88e2f..fb8d40cbd9 100644 --- a/tests/auto/selftests/skipglobal/skipglobal.pro +++ b/tests/auto/selftests/skipglobal/skipglobal.pro @@ -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 diff --git a/tests/auto/selftests/skipinit/skipinit.pro b/tests/auto/selftests/skipinit/skipinit.pro index 691218312b..3d458f3669 100644 --- a/tests/auto/selftests/skipinit/skipinit.pro +++ b/tests/auto/selftests/skipinit/skipinit.pro @@ -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 diff --git a/tests/auto/selftests/skipinitdata/skipinitdata.pro b/tests/auto/selftests/skipinitdata/skipinitdata.pro index 206ed11f73..26119eb70c 100644 --- a/tests/auto/selftests/skipinitdata/skipinitdata.pro +++ b/tests/auto/selftests/skipinitdata/skipinitdata.pro @@ -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 diff --git a/tests/auto/selftests/sleep/sleep.pro b/tests/auto/selftests/sleep/sleep.pro index 0bd322549f..d963e73ed2 100644 --- a/tests/auto/selftests/sleep/sleep.pro +++ b/tests/auto/selftests/sleep/sleep.pro @@ -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 diff --git a/tests/auto/selftests/strcmp/strcmp.pro b/tests/auto/selftests/strcmp/strcmp.pro index 3121c25a1b..8cf1caa906 100644 --- a/tests/auto/selftests/strcmp/strcmp.pro +++ b/tests/auto/selftests/strcmp/strcmp.pro @@ -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 diff --git a/tests/auto/selftests/subtest/subtest.pro b/tests/auto/selftests/subtest/subtest.pro index fe3cafa14a..ac237790d2 100644 --- a/tests/auto/selftests/subtest/subtest.pro +++ b/tests/auto/selftests/subtest/subtest.pro @@ -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 diff --git a/tests/auto/selftests/waitwithoutgui/waitwithoutgui.pro b/tests/auto/selftests/waitwithoutgui/waitwithoutgui.pro index cf3098ddcf..6c28390da9 100644 --- a/tests/auto/selftests/waitwithoutgui/waitwithoutgui.pro +++ b/tests/auto/selftests/waitwithoutgui/waitwithoutgui.pro @@ -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 diff --git a/tests/auto/selftests/warnings/warnings.pro b/tests/auto/selftests/warnings/warnings.pro index eaf06b41d8..147d96a02f 100644 --- a/tests/auto/selftests/warnings/warnings.pro +++ b/tests/auto/selftests/warnings/warnings.pro @@ -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 diff --git a/tests/auto/selftests/xunit/xunit.pro b/tests/auto/selftests/xunit/xunit.pro index 55aca4a6ae..e523520ed6 100644 --- a/tests/auto/selftests/xunit/xunit.pro +++ b/tests/auto/selftests/xunit/xunit.pro @@ -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 -- cgit v1.2.3