diff options
author | The Qt Project <gerrit-noreply@qt-project.org> | 2019-08-28 11:38:35 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2019-08-28 11:38:35 +0000 |
commit | 037ed366c6f3cd57a3d8a40f1ce0a0050e0855ec (patch) | |
tree | 011346189c8615bad6612ae3e1d29f218a9fed55 /tests/auto/blackbox/tst_blackbox.cpp | |
parent | 52f4eccf83d8c0f4519216fede7e8311fd275f70 (diff) | |
parent | 7dd870f21601301aca67548e96866204cec3e852 (diff) |
Merge "Merge 1.14 into master"
Diffstat (limited to 'tests/auto/blackbox/tst_blackbox.cpp')
-rw-r--r-- | tests/auto/blackbox/tst_blackbox.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp index 31a5a92ae..a2e8238c9 100644 --- a/tests/auto/blackbox/tst_blackbox.cpp +++ b/tests/auto/blackbox/tst_blackbox.cpp @@ -6306,6 +6306,14 @@ void TestBlackbox::outputArtifactAutoTagging() QVERIFY(regularFileExists(relativeExecutableFilePath("output-artifact-auto-tagging"))); } +void TestBlackbox::outputRedirection() +{ + QDir::setCurrent(testDataDir + "/output-redirection"); + QCOMPARE(runQbs(), 0); + TEXT_FILE_COMPARE("output.txt", relativeProductBuildDir("the-product") + "/output.txt"); + TEXT_FILE_COMPARE("output.bin", relativeProductBuildDir("the-product") + "/output.bin"); +} + void TestBlackbox::wildCardsAndRules() { QDir::setCurrent(testDataDir + "/wildcards-and-rules"); |