Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasFella committed Dec 13, 2024
1 parent cccd82b commit 60769f9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions quotest/quotest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -965,12 +965,14 @@ void TestManager::finalize(const QString& lastWords)
clog << "Logging out" << endl;
c->logout().then(
this, [this, lastWords] {
clog << lastWords.toStdString() << endl;
QCoreApplication::exit(!testSuite ? -3
auto result = !testSuite ? -3
: succeeded.empty() && failed.empty()
&& running.empty()
? -4
: static_cast<int>(failed.size() + running.size()));
: static_cast<int>(failed.size() + running.size());
qWarning() << "Finished" << testSuite << succeeded.size() << failed.size() << running.size() << result;
clog << lastWords.toStdString() << endl;
QCoreApplication::exit(result);
});
}

Expand Down

0 comments on commit 60769f9

Please sign in to comment.