BUG: make sure windows paths are used for the command or it will not work for win 98
This commit is contained in:
parent
e328ee73c8
commit
7df776057b
|
@ -195,7 +195,6 @@ void ctest::ProcessDirectory(std::vector<std::string> &passed,
|
||||||
// find the test executable
|
// find the test executable
|
||||||
std::string testCommand =
|
std::string testCommand =
|
||||||
cmSystemTools::EscapeSpaces(this->FindExecutable(args[1].c_str()).c_str());
|
cmSystemTools::EscapeSpaces(this->FindExecutable(args[1].c_str()).c_str());
|
||||||
|
|
||||||
// continue if we did not find the executable
|
// continue if we did not find the executable
|
||||||
if (testCommand == "")
|
if (testCommand == "")
|
||||||
{
|
{
|
||||||
|
@ -204,6 +203,7 @@ void ctest::ProcessDirectory(std::vector<std::string> &passed,
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
testCommand = cmSystemTools::ConvertToOutputPath(testCommand.c_str());
|
||||||
// add the arguments
|
// add the arguments
|
||||||
std::vector<std::string>::iterator j = args.begin();
|
std::vector<std::string>::iterator j = args.begin();
|
||||||
++j;
|
++j;
|
||||||
|
|
Loading…
Reference in New Issue