diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2019-08-26 13:47:20 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2019-08-26 13:47:20 +0200 |
commit | 7dd870f21601301aca67548e96866204cec3e852 (patch) | |
tree | 36ae72dfc06c7b1d97ab4f0b8fb9ebfb0339663b /tests/auto/blackbox/tst_blackbox.cpp | |
parent | c6e49568deaf973df276d5168714df0c9a2aad85 (diff) | |
parent | 817a292690ccdea7bae185319beb22ea653db946 (diff) |
Merge 1.14 into master
Change-Id: Ic9ee11d628ba278271517aae0af020aec28ecbf7
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"); |