Commit 884a6222 authored by Bill King's avatar Bill King
Browse files

Pluginmanager: quit after -test testing has completed.

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