summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestScriptHandler.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-08-14 14:51:08 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-08-14 14:51:08 (GMT)
commit6b5403c5861771dee082c0040a6f91162ccb9c32 (patch)
tree825586a8571716b7a376507f984a0d59f1ada10e /Source/CTest/cmCTestScriptHandler.cxx
parentc76a2bb4b22c06b47955a8f5dde4629633ff76a1 (diff)
downloadCMake-6b5403c5861771dee082c0040a6f91162ccb9c32.zip
CMake-6b5403c5861771dee082c0040a6f91162ccb9c32.tar.gz
CMake-6b5403c5861771dee082c0040a6f91162ccb9c32.tar.bz2
ENH: fix for no newline on some makes fix for ctest and some symlinks
Diffstat (limited to 'Source/CTest/cmCTestScriptHandler.cxx')
-rw-r--r--Source/CTest/cmCTestScriptHandler.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestScriptHandler.cxx b/Source/CTest/cmCTestScriptHandler.cxx
index 152a634..29ab2d6 100644
--- a/Source/CTest/cmCTestScriptHandler.cxx
+++ b/Source/CTest/cmCTestScriptHandler.cxx
@@ -385,6 +385,11 @@ int cmCTestScriptHandler::ExtractVariables()
= this->Makefile->GetSafeDefinition("CTEST_SOURCE_DIRECTORY");
this->BinaryDir
= this->Makefile->GetSafeDefinition("CTEST_BINARY_DIRECTORY");
+
+ // add in translations for src and bin
+ cmSystemTools::AddKeepPath(this->SourceDir.c_str());
+ cmSystemTools::AddKeepPath(this->BinaryDir.c_str());
+
this->CTestCmd
= this->Makefile->GetSafeDefinition("CTEST_COMMAND");
this->CVSCheckOut