From f0e41ca85ad9f4b5d426a36410a20200c25eea38 Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Fri, 3 Feb 2012 22:45:00 +0100 Subject: tests: allow unstable tests to be marked with CONFIG+=insignificant_test Marking a test with CONFIG+=insignificant_test will cause the exit code of the test to be discarded during `make check'. This is intended to be used for tests which are valuable to run, but are known to be unstable and are not feasible to immediately fix. Change-Id: Ie3afe664e3a91c2d1f9ca03c2f39f8f9c5aa6edc Reviewed-by: Rohan McGovern --- tests/auto/q3process/tst/tst.pro | 2 +- tests/auto/qclipboard/test/test.pro | 2 ++ tests/auto/qlibrary/qlibrary.pro | 2 ++ tests/auto/qscriptextensionplugin/test/test.pro | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/auto/q3process/tst/tst.pro b/tests/auto/q3process/tst/tst.pro index 359148b..35052aa 100644 --- a/tests/auto/q3process/tst/tst.pro +++ b/tests/auto/q3process/tst/tst.pro @@ -14,4 +14,4 @@ win32 { QT += qt3support requires(contains(QT_CONFIG,qt3support)) - +win32:CONFIG+=insignificant_test # QTQAINFRA-428 diff --git a/tests/auto/qclipboard/test/test.pro b/tests/auto/qclipboard/test/test.pro index 2e8f6db..c15162c 100644 --- a/tests/auto/qclipboard/test/test.pro +++ b/tests/auto/qclipboard/test/test.pro @@ -30,3 +30,5 @@ wince*|symbian: { DEPLOYMENT += copier paster rsc reg_resource } + +win32:CONFIG+=insignificant_test # QTQAINFRA-428 diff --git a/tests/auto/qlibrary/qlibrary.pro b/tests/auto/qlibrary/qlibrary.pro index b351753..6adb51b 100644 --- a/tests/auto/qlibrary/qlibrary.pro +++ b/tests/auto/qlibrary/qlibrary.pro @@ -18,3 +18,5 @@ TARGET = tst_qlibrary # no special install rule for subdir INSTALLS = CONFIG += parallel_test + +win32:CONFIG+=insignificant_test # QTQAINFRA-428 diff --git a/tests/auto/qscriptextensionplugin/test/test.pro b/tests/auto/qscriptextensionplugin/test/test.pro index 223dafa..d712d11 100644 --- a/tests/auto/qscriptextensionplugin/test/test.pro +++ b/tests/auto/qscriptextensionplugin/test/test.pro @@ -23,3 +23,4 @@ CONFIG(debug_and_release) { DESTDIR = .. } +win32:CONFIG+=insignificant_test # QTQAINFRA-428 -- cgit v0.12