Baseline scenegraph test: support the -keeprunning argument
Change-Id: Id0aa83ce27cda84956a10df18e06a5587432eff1 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
This commit is contained in:
parent
1abfb04fae
commit
3c52c5a92e
|
@ -192,7 +192,7 @@ void tst_Scenegraph::runTest(const QStringList& extraArgs)
|
|||
consecutiveErrors = 0;
|
||||
}
|
||||
else {
|
||||
if (++consecutiveErrors >= 3)
|
||||
if (++consecutiveErrors >= 3 && QBaselineTest::shouldAbortIfUnstable())
|
||||
aborted = true; // Just give up if screen grabbing fails 3 times in a row
|
||||
QFAIL(qPrintable("QuickView grabbing failed: " + errorMessage));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue