Do not normalize binary path in xs::PosixTestProcess
authorPyry Haulos <phaulos@google.com>
Wed, 13 Jan 2016 21:42:13 +0000 (13:42 -0800)
committerPyry Haulos <phaulos@google.com>
Wed, 13 Jan 2016 21:42:13 +0000 (13:42 -0800)
Normalizing path will prevent deProcess correctly stripping leading
working directory name from binary path.

Change-Id: If9e22b683f0f929219147e19cc31b42cf6e6bdeb

execserver/xsPosixTestProcess.cpp

index 5c9dcb6..9f4d21d 100644 (file)
@@ -200,7 +200,7 @@ void PosixTestProcess::start (const char* name, const char* params, const char*
        }
 
        // Construct command line.
-       string cmdLine = de::FilePath(name).isAbsolutePath() ? name : de::FilePath::join(workingDir, name).normalize().getPath();
+       string cmdLine = de::FilePath(name).isAbsolutePath() ? name : de::FilePath::join(workingDir, name).getPath();
        cmdLine += string(" --deqp-log-filename=") + logFilePath.getBaseName();
 
        if (hasCaseList)