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 cccd82b commit 2e8f948
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions quotest/quotest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -966,11 +966,12 @@ void TestManager::finalize(const QString& lastWords)
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());
QCoreApplication::exit(result);
});
}

Expand Down

0 comments on commit 2e8f948

Please sign in to comment.