diff --git a/quotest/quotest.cpp b/quotest/quotest.cpp index 890245d2..4f468b2a 100644 --- a/quotest/quotest.cpp +++ b/quotest/quotest.cpp @@ -965,7 +965,13 @@ void TestManager::finalize(const QString& lastWords) clog << "Logging out" << endl; c->logout().then( this, [this, lastWords] { + qWarning() << "Finished" << testSuite << succeeded.size() << failed.size() << running.size() << (!testSuite ? -3 + : succeeded.empty() && failed.empty() + && running.empty() + ? -4 + : static_cast(failed.size() + running.size())); clog << lastWords.toStdString() << endl; + QCoreApplication::exit(0); QCoreApplication::exit(!testSuite ? -3 : succeeded.empty() && failed.empty() && running.empty()