From: Rohan McGovern Date: Mon, 18 Jul 2011 23:24:27 +0000 (+1000) Subject: tests: do not run the testlib selftest helpers during `make check' X-Git-Tag: qt-v5.0.0-alpha1~3973 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b02bc68066ba5834bca49899ef80cc3dd415809b;p=profile%2Fivi%2Fqtbase.git 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 --- diff --git a/tests/auto/selftests/alive/alive.pro b/tests/auto/selftests/alive/alive.pro index 08cf358..7660933 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 0e48375..e8d60bd 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 323791a..f55636d 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 c9ec7e2..50d056e 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 44b0295..de97867 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 4dee69f..1185630 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 4f7f141..b83ef44 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 f4694b5..83b383d 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 8b2df1c..9c14987 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 96bfa5b..e10ec40 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 7eec6ea..8162e5c 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 98f04d6..865e00e 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 b015661..34d6169 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 c11b0d3..84e20ee 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 641818c..62c782f 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 97a3560..1e96018 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 e3d54c8..0eedd06 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 1ff96f7..61f3937 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 3a5d13b..9a5e095 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 1bdcf07..71a243f 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 b917481..d496691 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 393a964..42a122d 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 639b9b8..5a3f5af 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 73bdaca..d994cea 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 9762c97..34a0f72 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 989fdeb..4f4b486 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 0205a88..fb8d40cb 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 6912183..3d458f3 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 206ed11..26119eb 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 0bd3225..d963e73 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 3121c25..8cf1caa 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 fe3cafa..ac23779 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 cf3098d..6c28390 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 eaf06b4..147d96a 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 55aca4a..e523520 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