From ad3a1323abaa49ca33fec4be95b4d58c9885e7a2 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sat, 14 Dec 2024 10:45:52 +0100 Subject: [PATCH] ?!? --- quotest/quotest.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/quotest/quotest.cpp b/quotest/quotest.cpp index 0190bbda..30a2865a 100644 --- a/quotest/quotest.cpp +++ b/quotest/quotest.cpp @@ -970,9 +970,14 @@ void TestManager::finalize(const QString& lastWords) && running.empty() ? -4 : static_cast(failed.size() + running.size()); - qWarning() << "Finished" << testSuite << succeeded.size() << failed.size() << running.size() << result; + qWarning() << "Finished" << result; clog << lastWords.toStdString() << endl; - QCoreApplication::exit(result); + QCoreApplication::exit(); + if (result) { + QCoreApplication::exit(result); + } else { + QCoreApplication::exit(); + } }); }