Skip to content

Commit

Permalink
??
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasFella committed Dec 14, 2024
1 parent 2e8f948 commit 48e697f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quotest/quotest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -965,12 +965,13 @@ void TestManager::finalize(const QString& lastWords)
clog << "Logging out" << endl;
c->logout().then(
this, [this, lastWords] {
clog << lastWords.toStdString() << endl;
auto result = !testSuite ? -3
: succeeded.empty() && failed.empty()
&& running.empty()
? -4
: 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 48e697f

Please sign in to comment.