Tests: Fix dumper execution on macOS

macOS may print warnings on stderr when running qmake which
in turn stops the test before starting to build.

Change-Id: I01750e984916b3e16f5d5737e44cd5a2c6e0433b
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2022-02-21 16:12:02 +01:00
parent d73fbbcb97
commit ec80ae2322

View File

@@ -1648,7 +1648,7 @@ void tst_Dumpers::dumper()
if (data.allProfile.isEmpty()) { // Nim... if (data.allProfile.isEmpty()) { // Nim...
if (!error.isEmpty()) { if (!error.isEmpty()) {
qDebug() << error; QVERIFY(false); qDebug() << error; QVERIFY(qmake.exitCode() == 0);
} }
} }
} }