aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/tst_blackboxqt.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-08-01 15:44:59 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-08-01 13:51:57 +0000
commit10855b88d8c5ce7004a8836f912e64f37d20cee3 (patch)
treeb54a8323d84d861bf80a28665740e87915311c09 /tests/auto/blackbox/tst_blackboxqt.cpp
parente5a0c7791eefcbd9adc01288bfd774b8fa93354d (diff)
tst_blackboxqt: Add missing wait for timestamp update
Change-Id: Ia85d491394b1d6b7b894ea9740cd9d6b99d0b140 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/blackbox/tst_blackboxqt.cpp')
-rw-r--r--tests/auto/blackbox/tst_blackboxqt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackboxqt.cpp b/tests/auto/blackbox/tst_blackboxqt.cpp
index b6b01d552..46df8c494 100644
--- a/tests/auto/blackbox/tst_blackboxqt.cpp
+++ b/tests/auto/blackbox/tst_blackboxqt.cpp
@@ -154,6 +154,7 @@ void TestBlackboxQt::includedMocCpp()
REPLACE_IN_FILE("myobject.cpp", "#include <moc_myobject.cpp", "// #include <moc_myobject.cpp");
QCOMPARE(runQbs(), 0);
QVERIFY2(m_qbsStdout.contains("compiling moc_myobject.cpp"), m_qbsStdout.constData());
+ WAIT_FOR_NEW_TIMESTAMP();
REPLACE_IN_FILE("myobject.cpp", "// #include <moc_myobject.cpp", "#include <moc_myobject.cpp");
QCOMPARE(runQbs(), 0);
QVERIFY2(!m_qbsStdout.contains("compiling moc_myobject.cpp"), m_qbsStdout.constData());