AutoTest: Fix unexpected colored output

Depending on how boost was built the boost utf could have
colored output default which confuses the output reader.
So, turn the colored explicitly output off.

Change-Id: I5f0782aca6aa4fb168abf8470d07d68566392558
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2019-05-20 15:45:32 +02:00
parent 544cdebef7
commit aa07bf6f70

View File

@@ -90,6 +90,7 @@ QStringList BoostTestConfiguration::argumentsForTestRunner(QStringList *omitted)
auto boostSettings = getBoostSettings(); auto boostSettings = getBoostSettings();
arguments << "-l" << BoostTestSettings::logLevelToOption(boostSettings->logLevel); arguments << "-l" << BoostTestSettings::logLevelToOption(boostSettings->logLevel);
arguments << "-r" << BoostTestSettings::reportLevelToOption(boostSettings->reportLevel); arguments << "-r" << BoostTestSettings::reportLevelToOption(boostSettings->reportLevel);
arguments << "--no_color_output"; // ensure that colored output is not used as default
if (boostSettings->randomize) if (boostSettings->randomize)
arguments << QString("--random=").append(boostSettings->seed); arguments << QString("--random=").append(boostSettings->seed);