Tests: Do not fail if boost compile fails

Change-Id: Iaa74f0c5911f328ca041a8f8e84c760187f6c38f
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2020-08-03 15:30:59 +02:00
parent d273a5bc5f
commit 84e4b3af31

View File

@@ -1004,9 +1004,17 @@ public:
return *this;
}
const Data &operator+(const BoostProfile &p) const
{
useBoost = true;
this->operator+(Profile(p));
return *this;
}
public:
mutable bool useQt = false;
mutable bool useQHash = false;
mutable bool useBoost = false;
mutable int engines = AllEngines;
mutable int skipLevels = 0; // Levels to go 'up' before dumping variables.
mutable bool glibcxxDebug = false;
@@ -1594,6 +1602,9 @@ void tst_Dumpers::dumper()
error = make.readAllStandardError();
//qDebug() << "stdout: " << output;
if (make.exitCode()) {
if (data.useBoost && make.exitStatus() == QProcess::NormalExit)
MSKIP_SINGLE("Compile failed - probably missing Boost?");
qDebug().noquote() << error;
qDebug() << "\n------------------ CODE --------------------";
qDebug().noquote() << fullCode;