aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/blackbox/testdata/list-property-order/modules/lower/lower.qbs2
-rw-r--r--tests/auto/blackbox/tst_blackbox.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/blackbox/testdata/list-property-order/modules/lower/lower.qbs b/tests/auto/blackbox/testdata/list-property-order/modules/lower/lower.qbs
index c7462676d..df9181641 100644
--- a/tests/auto/blackbox/testdata/list-property-order/modules/lower/lower.qbs
+++ b/tests/auto/blackbox/testdata/list-property-order/modules/lower/lower.qbs
@@ -10,7 +10,7 @@ Module {
prepare: {
var cmd = new JavaScriptCommand();
cmd.sourceCode = function() {
- console.info("listProp = " + JSON.stringify(product.lower.listProp));
+ console.warn("listProp = " + JSON.stringify(product.lower.listProp));
};
cmd.silent = true;
return [cmd];
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp
index 5d9077c2f..faada314f 100644
--- a/tests/auto/blackbox/tst_blackbox.cpp
+++ b/tests/auto/blackbox/tst_blackbox.cpp
@@ -4677,9 +4677,10 @@ void TestBlackbox::listPropertiesWithOuter()
void TestBlackbox::listPropertyOrder()
{
QDir::setCurrent(testDataDir + "/list-property-order");
- const QbsRunParameters params(QStringList() << "-qq");
+ const QbsRunParameters params(QStringList() << "-q");
QCOMPARE(runQbs(params), 0);
const QByteArray firstOutput = m_qbsStderr;
+ QVERIFY(firstOutput.contains("listProp = [\"higher1\",\"higher2\",\"higher3\"]"));
for (int i = 0; i < 25; ++i) {
rmDirR(relativeBuildDir());
QCOMPARE(runQbs(params), 0);