aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2019-06-03 07:47:53 +0200
committerChristian Stenger <christian.stenger@qt.io>2019-06-03 18:52:16 +0000
commit1ecfb2d941d3d6b9eadfd31bb337f5729b63b3f5 (patch)
tree7736660ee14e3255ef33d588eac6fcfd3d8193ca /tests/auto
parent6c8f44d261c9eb4cd81199b289a7af1ef9ad10d0 (diff)
Tests: Fix compile on Win
Amends 4098be05b23dd. Change-Id: Icc28162630470d3beab7ef9867e907cab6804688 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/debugger/tst_dumpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp
index 237c08b66d..0f60d6c7db 100644
--- a/tests/auto/debugger/tst_dumpers.cpp
+++ b/tests/auto/debugger/tst_dumpers.cpp
@@ -93,7 +93,7 @@ static bool generateEnvironmentSettings(Utils::Environment &env,
const QString cmdPath = QString::fromLocal8Bit(qgetenv("COMSPEC"));
// Windows SDK setup scripts require command line switches for environment expansion.
QString cmdArguments = " /E:ON /V:ON /c \"" + QDir::toNativeSeparators(saver.fileName()) + '"';
- run.setCommand(cmdPath, cmdArguments);
+ run.setCommand(Utils::CommandLine(cmdPath, cmdArguments));
run.start();
if (!run.waitForStarted()) {