diff --git a/quotest/quotest.cpp b/quotest/quotest.cpp index 0190bbda..2e9861f2 100644 --- a/quotest/quotest.cpp +++ b/quotest/quotest.cpp @@ -970,9 +970,13 @@ 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); + if (result) { + QCoreApplication::exit(result); + } else { + QCoreApplication::exit(); + } }); }