Skip to content
Snippets Groups Projects
Commit 884a6222 authored by Bill King's avatar Bill King
Browse files

Pluginmanager: quit after -test testing has completed.

parent 36c72ac3
No related branches found
No related tags found
No related merge requests found
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
#include <QtCore/QTime> #include <QtCore/QTime>
#include <QtCore/QWriteLocker> #include <QtCore/QWriteLocker>
#include <QtCore/QtDebug> #include <QtCore/QtDebug>
#include <QtCore/QTimer>
#ifdef WITH_TESTS #ifdef WITH_TESTS
#include <QTest> #include <QTest>
...@@ -640,6 +641,7 @@ void PluginManager::startTests() ...@@ -640,6 +641,7 @@ void PluginManager::startTests()
} }
QTest::qExec(pluginSpec->plugin(), methods); QTest::qExec(pluginSpec->plugin(), methods);
} }
QTimer::singleShot(1, QCoreApplication::instance(), SLOT(quit()));
#endif #endif
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment