aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-02-06 10:11:09 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2019-02-11 12:50:46 +0000
commit40215ac87a15c41c6531714da2d43728df75235b (patch)
tree11ad39dd85d0eaf5a942c6fdd267d32d886f1a9f /tests
parent061c88a6081f487886e4b9e42ff4ec014cfd6040 (diff)
Module providers: Fix some change tracking problems
- We must not remember our temporary files. - We need to use a different reference time stamp for the created modules. - Collecting the results of File.exists() & friends can lead to false positives, so we disable it for now. Change-Id: Id64685b510606f1991e83eb825c36a1b3ec4a4e1 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/blackbox/tst_blackbox.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp
index 82f29f320..8154e7262 100644
--- a/tests/auto/blackbox/tst_blackbox.cpp
+++ b/tests/auto/blackbox/tst_blackbox.cpp
@@ -6396,7 +6396,8 @@ void TestBlackbox::fallbackModuleProvider()
static const auto b2s = [](bool b) { return QString(b ? "true" : "false"); };
QbsRunParameters resolveParams("resolve",
QStringList{"modules.pkgconfig.libDirs:" + pkgConfigLibDirs.join(','),
- "products.p.fallbacksEnabled:" + b2s(fallbacksEnabledInProduct)});
+ "products.p.fallbacksEnabled:" + b2s(fallbacksEnabledInProduct),
+ "--force-probe-execution"});
if (!fallbacksEnabledGlobally)
resolveParams.arguments << "--no-fallback-module-provider";
QCOMPARE(runQbs(resolveParams), 0);