forked from qt-creator/qt-creator
AutoTest: Add optional verbosity for Qt tests
Add options allowing verbose benchmarks and logging of signals and slots inside Qt tests. Beside this fixing a typo (recognition of results of type info) inside the plain text reader. Change-Id: Iaba7112c55bf30213584e56858d096c8f78307d0 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -67,6 +67,12 @@ QStringList QtTestConfiguration::argumentsForTestRunner() const
|
||||
if (!metricsOption.isEmpty())
|
||||
arguments << metricsOption;
|
||||
|
||||
if (qtSettings->verboseBench)
|
||||
arguments << "-vb";
|
||||
|
||||
if (qtSettings->logSignalsSlots)
|
||||
arguments << "-vs";
|
||||
|
||||
if (runMode() == DebuggableTestConfiguration::Debug) {
|
||||
if (qtSettings->noCrashHandler)
|
||||
arguments << "-nocrashhandler";
|
||||
|
||||
Reference in New Issue
Block a user