forked from qt-creator/qt-creator
ProjectExplorer: Use Utils::CommandLine in ProjectExplorer::Runnable
Change-Id: Id965f1f9047dcbc3ea5c9ddaa550d12668cf8ae6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -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"}};
|
||||
|
||||
Reference in New Issue
Block a user