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:
@@ -57,7 +57,7 @@ void LocalQmlProfilerRunnerTest::testRunner()
|
||||
int runCount = 0;
|
||||
int stopCount = 0;
|
||||
|
||||
debuggee.executable = "\\-/|\\-/";
|
||||
debuggee.executable = Utils::FilePath::fromString("\\-/|\\-/");
|
||||
debuggee.environment = Utils::Environment::systemEnvironment();
|
||||
|
||||
// should not be used anywhere but cannot be empty
|
||||
@@ -110,7 +110,7 @@ void LocalQmlProfilerRunnerTest::testRunner()
|
||||
QVERIFY(profiler.isNull());
|
||||
|
||||
serverUrl = Utils::urlFromLocalSocket();
|
||||
debuggee.executable = qApp->applicationFilePath();
|
||||
debuggee.executable = Utils::FilePath::fromString(QCoreApplication::applicationFilePath());
|
||||
|
||||
// comma is used to specify a test function. In this case, an invalid one.
|
||||
debuggee.commandLineArguments = QString("-test QmlProfiler,");
|
||||
|
||||
Reference in New Issue
Block a user