diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2013-12-11 18:45:55 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-12-12 10:02:07 +0100 |
commit | 928f81c194d43155d50f654df70347405ad236ff (patch) | |
tree | 5c81dfe2f26110f76bb28a8d97dd80f9e7147f48 /tests/auto/blackbox/tst_blackbox.cpp | |
parent | f8f985af535712e051be28883aef9199cde3b022 (diff) |
Fix artifact cleaner.
If the "remove all" flag is not set, we must take care to not only skip
target artifacts, but also their siblings that are not target artifacts.
Otherwise, the build graph can end up in an unexpected state.
Change-Id: Ie2fa36f3e489c3bee19f461e16fa093515b01020
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/blackbox/tst_blackbox.cpp')
-rw-r--r-- | tests/auto/blackbox/tst_blackbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp index 90b8a6c88..f3d9e4172 100644 --- a/tests/auto/blackbox/tst_blackbox.cpp +++ b/tests/auto/blackbox/tst_blackbox.cpp @@ -395,7 +395,7 @@ void TestBlackbox::clean() QVERIFY(!QFile(depObjectFilePath).exists()); QVERIFY(QFile(depLibFilePath).exists()); foreach (const QString &symLink, symlinks) - QVERIFY2(!QFile(symLink).exists(), qPrintable(symLink)); + QVERIFY2(QFile(symLink).exists(), qPrintable(symLink)); // Remove all. QCOMPARE(runQbs(), 0); |