aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2018-05-18 13:23:24 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2018-05-18 14:51:55 +0000
commitfd5d08781be217a006fa03375de7928b05955431 (patch)
treec6075aab49a3a7772b5f13f6d2a544f7566776ef
parent2df8a8cf465703890754a37682adee8cd7342bac (diff)
Fix TestBlackbox:vcsGit test
Need to wait for a new timestamp, to make sure rules see all the changes. Change-Id: I972737e44d89d10cfa55eae41c5ac44c3c69e021 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r--tests/auto/blackbox/tst_blackbox.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp
index 648fdd7cb..f0c731446 100644
--- a/tests/auto/blackbox/tst_blackbox.cpp
+++ b/tests/auto/blackbox/tst_blackbox.cpp
@@ -1208,6 +1208,7 @@ void TestBlackbox::vcsGit()
QVERIFY(waitForProcessSuccess(git));
// Run with git metadata.
+ WAIT_FOR_NEW_TIMESTAMP();
QCOMPARE(runQbs(params), 0);
QVERIFY2(m_qbsStdout.contains("generating my-repo-state.h"), m_qbsStderr.constData());
QVERIFY2(m_qbsStdout.contains("compiling main.cpp"), m_qbsStderr.constData());