forked from qt-creator/qt-creator
AutoTest: Fix building arguments list
Avoid interpreting an int as a char when appending the seed to the randomize option. Change-Id: Ibbcd59d35acf54cc14a07493652e1fe05b187bbc Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -120,7 +120,7 @@ QStringList BoostTestConfiguration::argumentsForTestRunner(QStringList *omitted)
|
||||
arguments << "--no_color_output"; // ensure that colored output is not used as default
|
||||
|
||||
if (boostSettings->randomize)
|
||||
arguments << QString("--random=").append(boostSettings->seed);
|
||||
arguments << QString("--random=").append(QString::number(boostSettings->seed));
|
||||
|
||||
if (boostSettings->systemErrors)
|
||||
arguments << "-s";
|
||||
|
||||
Reference in New Issue
Block a user