diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2018-06-28 18:03:43 +0200 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2018-07-25 05:17:47 +0000 |
commit | 92c5f3fb7b3f3a90e27be71e73395ac517f0b3ea (patch) | |
tree | 373f647be63db669ace77f1e8364bc4ad1791e3d /tests/auto/corelib/io/qfile/stdinprocess | |
parent | 64d63d036c8938b88fa47e8036f1ebe0279b75cf (diff) |
Add qt_test_helper feature
To avoid (even more) duplicated code, "qt_test_helper" ensures the
policy of putting a test's helper application next to the test's
own executable.
The helper executable is suffixed with "_helper" to avoid name
clashes with its folder.
Change-Id: Ic50cb1daa257e7ffc75440c10a3b90fd39424683
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'tests/auto/corelib/io/qfile/stdinprocess')
-rw-r--r-- | tests/auto/corelib/io/qfile/stdinprocess/stdinprocess.pro | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/tests/auto/corelib/io/qfile/stdinprocess/stdinprocess.pro b/tests/auto/corelib/io/qfile/stdinprocess/stdinprocess.pro index 4029701943..512da8939b 100644 --- a/tests/auto/corelib/io/qfile/stdinprocess/stdinprocess.pro +++ b/tests/auto/corelib/io/qfile/stdinprocess/stdinprocess.pro @@ -1,18 +1,4 @@ SOURCES += main.cpp QT = core -CONFIG -= app_bundle -CONFIG += console -debug_and_release { - CONFIG(debug, debug|release) { - TARGET = ../../debug/stdinprocess_helper - } else { - TARGET = ../../release/stdinprocess_helper - } -} else { - TARGET = ../stdinprocess_helper -} - -# This app is testdata for tst_qfile -target.path = $$[QT_INSTALL_TESTS]/tst_qfile/$$TARGET -INSTALLS += target +load(qt_test_helper) |