forked from qt-creator/qt-creator
Add "-notest" option that prevents a plugin from being tested
This is similar to "-noload" and prevents a plugin from being loaded for testing. Nice to blacklist some problematic plugins. Change-Id: Ib273d244333a9d275969c9608e556a11b7518386 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -721,6 +721,9 @@ void PluginManager::formatOptions(QTextStream &str, int optionIndentation, int d
|
||||
formatOption(str, QString::fromLatin1(OptionsParser::TEST_OPTION) + QLatin1String(" all"),
|
||||
QString(), QLatin1String("Run tests from all plugins"),
|
||||
optionIndentation, descriptionIndentation);
|
||||
formatOption(str, QString::fromLatin1(OptionsParser::NOTEST_OPTION),
|
||||
QLatin1String("plugin"), QLatin1String("Exclude all of the plugin's tests from the test run"),
|
||||
optionIndentation, descriptionIndentation);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user