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:
Christian Stenger
2019-05-27 08:41:42 +02:00
parent a2fa8ce2e8
commit 0980484be8

View File

@@ -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";