summaryrefslogtreecommitdiffstats
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-06-24 18:07:46 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-06-24 18:07:46 (GMT)
commit7df776057b395478ba4153315eb82b22bb15be46 (patch)
tree3208eabd3c2c859b75abc6439f0f751ecb59e454 /Source/ctest.cxx
parente328ee73c85cd13422152056f3f95d7f6836f1bf (diff)
downloadCMake-7df776057b395478ba4153315eb82b22bb15be46.zip
CMake-7df776057b395478ba4153315eb82b22bb15be46.tar.gz
CMake-7df776057b395478ba4153315eb82b22bb15be46.tar.bz2
BUG: make sure windows paths are used for the command or it will not work for win 98
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r--Source/ctest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index 09f9b31..70ceb36 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -195,7 +195,6 @@ void ctest::ProcessDirectory(std::vector<std::string> &passed,
// find the test executable
std::string testCommand =
cmSystemTools::EscapeSpaces(this->FindExecutable(args[1].c_str()).c_str());
-
// continue if we did not find the executable
if (testCommand == "")
{
@@ -204,6 +203,7 @@ void ctest::ProcessDirectory(std::vector<std::string> &passed,
continue;
}
+ testCommand = cmSystemTools::ConvertToOutputPath(testCommand.c_str());
// add the arguments
std::vector<std::string>::iterator j = args.begin();
++j;