diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2012-06-22 12:03:39 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-04 02:46:27 +0200 |
commit | bcf20e122a037b9679ca47d3b95986db9f49c915 (patch) | |
tree | 956b1c3f1d02159d3d116bd98a29d66f36671aad /tests/auto/corelib/io | |
parent | 10edf63174414cc95165c4fc14a3278e944dfbe2 (diff) |
Avoid load(testcase) for installing test helper apps
Make test projects declare TEST_HELPER_INSTALLS rather than calling a
function exported by testcase.prf. load(testcase) may be unsafe, as
testcase.prf should be processed after default_post.prf.
Fixes silent disabling of various autotests.
Change-Id: I56b35ffd653a637ad5ab18d64dd1a1edadfac59f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Kurt Korbatits <kurt.korbatits@nokia.com>
Diffstat (limited to 'tests/auto/corelib/io')
-rw-r--r-- | tests/auto/corelib/io/qprocess/test/test.pro | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/corelib/io/qprocess/test/test.pro b/tests/auto/corelib/io/qprocess/test/test.pro index b3eeb5999a..1ddd0ba5a1 100644 --- a/tests/auto/corelib/io/qprocess/test/test.pro +++ b/tests/auto/corelib/io/qprocess/test/test.pro @@ -14,10 +14,10 @@ include(../qprocess.pri) win32:CONFIG += insignificant_test # QTBUG-25342 - sometimes hangs mac:CONFIG += insignificant_test # QTBUG-25895 - sometimes hangs -load(testcase) # for target.path and installTestHelperApp() -for(file, SUBPROGRAMS): installTestHelperApp("../$${file}/$${file}",$${file},$${file}) -installTestHelperApp("../testProcessSpacesArgs/nospace",testProcessSpacesArgs,nospace) -installTestHelperApp("../testProcessSpacesArgs/one space",testProcessSpacesArgs,"one space") -installTestHelperApp("../testProcessSpacesArgs/two space s",testProcessSpacesArgs,"two space s") -installTestHelperApp("../test Space In Name/testSpaceInName","test Space In Name",testSpaceInName) +for(file, SUBPROGRAMS): TEST_HELPER_INSTALLS += "../$${file}/$${file}" +TEST_HELPER_INSTALLS += \ + ../testProcessSpacesArgs/nospace \ + "../testProcessSpacesArgs/one space" \ + "../testProcessSpacesArgs/two space s" \ + "../test Space In Name/testSpaceInName" |