Really marked tst_QProcess as insignificant on Windows.
authorRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 Apr 2012 23:43:24 +0000 (09:43 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 18 Apr 2012 23:57:58 +0000 (01:57 +0200)
This test hangs ~2.6% of the time in CI.

The previous commit which attempted to mark this test as insignificant
did not work due to this .pro file doing a load(testcase) prior to the
line which set CONFIG += insignificant_test.  testcase.prf must be
loaded _after_ insignificant_test is set.

Task-number: QTBUG-25342
Change-Id: I20470337fda8235e2fd0b6e8d5f564c8c57d167e
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
tests/auto/corelib/io/qprocess/test/test.pro

index 1ea4dc4..0b8b761 100644 (file)
@@ -8,6 +8,9 @@ TARGET = ../tst_qprocess
 win32:TESTDATA += ../testBatFiles/*
 
 include(../qprocess.pri)
+
+win32:CONFIG += insignificant_test # QTBUG-25342 - sometimes hangs
+
 load(testcase) # for target.path and installTestHelperApp()
 for(file, SUBPROGRAMS): installTestHelperApp("../$${file}/$${file}",$${file},$${file})
 installTestHelperApp("../testProcessSpacesArgs/nospace",testProcessSpacesArgs,nospace)
@@ -15,4 +18,3 @@ installTestHelperApp("../testProcessSpacesArgs/one space",testProcessSpacesArgs,
 installTestHelperApp("../testProcessSpacesArgs/two space s",testProcessSpacesArgs,"two space s")
 installTestHelperApp("../test Space In Name/testSpaceInName","test Space In Name",testSpaceInName)
 
-win32:CONFIG += insignificant_test # QTBUG-25342 - sometimes hangs