aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2020-08-03 15:30:59 +0200
committerChristian Stenger <christian.stenger@qt.io>2020-08-10 10:55:16 +0000
commit84e4b3af31364973c44ad52c8c01430d42f996a4 (patch)
treebd7483f2a2deace197a7f95341d31d96e35cbd13 /tests/auto
parentd273a5bc5f587c8c997b1abed937cf4a5b87375d (diff)
Tests: Do not fail if boost compile fails
Change-Id: Iaa74f0c5911f328ca041a8f8e84c760187f6c38f Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/debugger/tst_dumpers.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp
index f4755f8bb7..593419ecc6 100644
--- a/tests/auto/debugger/tst_dumpers.cpp
+++ b/tests/auto/debugger/tst_dumpers.cpp
@@ -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;