forked from qt-creator/qt-creator
ProjectExplorer: Use Utils::FileName for Runnable::executable
Change-Id: I584bc18aa19a4c9886af7b13e95052dfd4350b34 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
#include <QTcpSocket>
|
||||
#include <QSignalSpy>
|
||||
|
||||
using namespace Utils;
|
||||
using namespace Valgrind::XmlProtocol;
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
@@ -498,7 +499,7 @@ void ValgrindMemcheckParserTest::testRealValgrind()
|
||||
qDebug() << "running exe:" << executable << " HINT: set VALGRIND_TEST_BIN to change this";
|
||||
|
||||
ProjectExplorer::Runnable debuggee;
|
||||
debuggee.executable = executable;
|
||||
debuggee.executable = FilePath::fromString(executable);
|
||||
debuggee.environment = sysEnv;
|
||||
ValgrindRunner runner;
|
||||
runner.setValgrindExecutable("valgrind");
|
||||
@@ -535,7 +536,7 @@ void ValgrindMemcheckParserTest::testValgrindStartError()
|
||||
QFETCH(QString, debuggeeArgs);
|
||||
|
||||
ProjectExplorer::Runnable debuggeeExecutable;
|
||||
debuggeeExecutable.executable = debuggee;
|
||||
debuggeeExecutable.executable = FilePath::fromString(debuggee);
|
||||
debuggeeExecutable.environment = Utils::Environment::systemEnvironment();
|
||||
debuggeeExecutable.commandLineArguments = debuggeeArgs;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user