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