From 55a110c04711f0c0e8033889ee8b796e7b657dab Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sat, 14 Dec 2024 10:45:52 +0100 Subject: [PATCH] ?!? --- quotest/quotest.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/quotest/quotest.cpp b/quotest/quotest.cpp index 0190bbda..e312173f 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; - clog << lastWords.toStdString() << endl; - QCoreApplication::exit(result); + qWarning() << "Finished" << result; + // clog << lastWords.toStdString() << endl; + QCoreApplication::exit(); + if (result) { + QCoreApplication::exit(result); + } else { + QCoreApplication::exit(); + } }); }