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(); + } }); }