diff options
author | Joerg Bornemann <joerg.bornemann@digia.com> | 2014-07-31 18:30:03 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2014-08-01 11:36:39 +0200 |
commit | bd172083e9b4367aa712b7c4314bff379e6e96ee (patch) | |
tree | b3f7ae62d1d00f9201f9b8c97824eb08ae82a1ae /tests/auto/blackbox/tst_blackbox.cpp | |
parent | 702068a6ab4a8e5cbd66d6e40b742d1f11c2361c (diff) |
add test for dynamic multiplex rule inputs
Task-number: QBS-645
Change-Id: Ib14533084c575d91cc937ca1f7e05145c06b108f
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'tests/auto/blackbox/tst_blackbox.cpp')
-rw-r--r-- | tests/auto/blackbox/tst_blackbox.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp index b9cc46c45..f995ef3ec 100644 --- a/tests/auto/blackbox/tst_blackbox.cpp +++ b/tests/auto/blackbox/tst_blackbox.cpp @@ -1540,6 +1540,20 @@ void TestBlackbox::dynamicLibs() QCOMPARE(runQbs(), 0); } +void TestBlackbox::dynamicMultiplexRule() +{ + const QString testDir = testDataDir + "/dynamicMultiplexRule"; + QDir::setCurrent(testDir); + QCOMPARE(runQbs(), 0); + const QString outputFilePath = productBuildDir("dynamicMultiplexRule") + "/stuff-from-3-inputs"; + QVERIFY(regularFileExists(outputFilePath)); + waitForNewTimestamp(); + touch("two.txt"); + QCOMPARE(runQbs(), 0); + QEXPECT_FAIL("", "QBS-645", Abort); + QVERIFY(regularFileExists(outputFilePath)); +} + void TestBlackbox::dynamicRuleOutputs() { const QString testDir = testDataDir + "/dynamicRuleOutputs"; |