summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2010-10-26 10:06:15 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-12-16 21:23:18 (GMT)
commitd95f817f77378021a067f9f2b4f286a12acb6cd8 (patch)
tree2e7d15a6e5d72a3d2f994316c0ff39ecff0c46e3 /Source/CTest
parent72ebd4ee12fc99b5302c18619f120bd9c285b474 (diff)
downloadCMake-d95f817f77378021a067f9f2b4f286a12acb6cd8.zip
CMake-d95f817f77378021a067f9f2b4f286a12acb6cd8.tar.gz
CMake-d95f817f77378021a067f9f2b4f286a12acb6cd8.tar.bz2
Add the WORKING_DIRECTORY property to tests
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index 6dd348d..b8e38fb 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -2190,7 +2190,6 @@ bool cmCTestTestHandler::SetTestsProperties(
{
rtit->Labels.push_back(*crit);
}
-
}
if ( key == "MEASUREMENT" )
{
@@ -2219,6 +2218,10 @@ bool cmCTestTestHandler::SetTestsProperties(
std::string(crit->c_str())));
}
}
+ if ( key == "WORKING_DIRECTORY" )
+ {
+ rtit->Directory = val;
+ }
}
}
}