aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/valgrind/valgrindtestrunnertest.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2021-08-10 09:19:30 +0200
committerhjk <[email protected]>2021-08-13 15:04:30 +0000
commit52e5023bcce391f7bd47b70e62c3f4ab04d319f7 (patch)
tree6288d6e7e901b6f2c8e3ef29e1cd1fe1f85be4f2 /src/plugins/valgrind/valgrindtestrunnertest.cpp
parent33108795d6b2dd1e91942efb3c1c27ad23342295 (diff)
ProjectExplorer: Use Utils::CommandLine in ProjectExplorer::Runnable
Change-Id: Id965f1f9047dcbc3ea5c9ddaa550d12668cf8ae6 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/valgrind/valgrindtestrunnertest.cpp')
-rw-r--r--src/plugins/valgrind/valgrindtestrunnertest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/valgrind/valgrindtestrunnertest.cpp b/src/plugins/valgrind/valgrindtestrunnertest.cpp
index 211d40e5fc0..4dde3013628 100644
--- a/src/plugins/valgrind/valgrindtestrunnertest.cpp
+++ b/src/plugins/valgrind/valgrindtestrunnertest.cpp
@@ -82,7 +82,7 @@ QString ValgrindTestRunnerTest::runTestBinary(const QString &binary, const QStri
Runnable debuggee;
const QString &binPath = binPathFileInfo.canonicalFilePath();
- debuggee.executable = Utils::FilePath::fromString(binPath);
+ debuggee.command.setExecutable(Utils::FilePath::fromString(binPath));
debuggee.environment = Utils::Environment::systemEnvironment();
CommandLine valgrind{"valgrind", {"--num-callers=50", "--track-origins=yes"}};