AutoTest: Support gathering failed tests

Mark test tree items as failed for the last run
to be able to re-run them in an easier way.

Change-Id: I7ea3dcd16e5a02797d41f13e02b2fa95b857cf5e
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2020-09-11 14:30:15 +02:00
parent b4987f8fc9
commit 5f22126a79
16 changed files with 276 additions and 4 deletions

View File

@@ -335,6 +335,7 @@ void TestRunner::prepareToRunTests(TestRunMode mode)
// clear old log and output pane
TestResultsPane::instance()->clearContents();
TestTreeModel::instance()->clearFailedMarks();
if (m_selectedTests.empty()) {
reportResult(ResultType::MessageWarn, tr("No tests selected. Canceling test run."));