summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/tst_selftests.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-12-09 16:16:46 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-12 10:43:44 +0100
commitb9ebb65c77ea779d4abbf92e93b8bef5a41c84bc (patch)
tree707eb23727cdd7b549637fddb7d1e475bdd133e0 /tests/auto/testlib/selftests/tst_selftests.cpp
parent77f41a68b30b93e95808b86fc9d36838e690c8cc (diff)
Revert "Remove unused overload of QTest::qExec."
The overload is used in Qt Creator (see src/libs/extensionsystem/pluginmanager.cpp). The use case here is an application whose internal QObjects can be tested by passing a command line parameter. For this use case, it is inconvenient to have to allocate memory and create a char argv[]- array. This reverts commit ad80d42f8eefd72d9297c272139acc70e24bfa13. Change-Id: I2a2f91e2840100fd62743f6d03b33005d67b18f8 Reviewed-by: Daniel Teske <daniel.teske@nokia.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests/auto/testlib/selftests/tst_selftests.cpp')
-rw-r--r--tests/auto/testlib/selftests/tst_selftests.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/tst_selftests.cpp b/tests/auto/testlib/selftests/tst_selftests.cpp
index f7a485b857..f3b47389e6 100644
--- a/tests/auto/testlib/selftests/tst_selftests.cpp
+++ b/tests/auto/testlib/selftests/tst_selftests.cpp
@@ -327,6 +327,7 @@ void tst_Selftests::runSubTest_data()
<< "multiexec"
<< "printdatatags"
<< "printdatatagswithglobaltags"
+ << "qexecstringlist"
<< "singleskip"
<< "skip"
<< "skipinit"
@@ -391,6 +392,9 @@ void tst_Selftests::runSubTest_data()
if (subtest == "multiexec") {
continue;
}
+ if (subtest == "qexecstringlist") {
+ continue;
+ }
if (subtest == "benchliboptions") {
continue;
}