summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-06-04 17:39:43 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-06-04 17:39:43 (GMT)
commit8fdca686b3d4659328dafd5501dd25daef4e711a (patch)
treea314d28d51f68af25c8546d736f40fa96bd00002 /Source/CTest
parent3bcec6e36c9826fba12f188898f9d61c882b3424 (diff)
downloadCMake-8fdca686b3d4659328dafd5501dd25daef4e711a.zip
CMake-8fdca686b3d4659328dafd5501dd25daef4e711a.tar.gz
CMake-8fdca686b3d4659328dafd5501dd25daef4e711a.tar.bz2
ENH: fix passing of time limit to some ctest invocations that also use build-options
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestBuildAndTestHandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestBuildAndTestHandler.cxx b/Source/CTest/cmCTestBuildAndTestHandler.cxx
index d1a7736..83ccb19 100644
--- a/Source/CTest/cmCTestBuildAndTestHandler.cxx
+++ b/Source/CTest/cmCTestBuildAndTestHandler.cxx
@@ -457,8 +457,8 @@ int cmCTestBuildAndTestHandler::ProcessCommandLineArguments(
{
this->BuildOptions.push_back(allArgs[idx]);
if(idx+1 < allArgs.size()
- && (allArgs[idx+1] == "--build-target" ||
- allArgs[idx+1] == "--test-command"))
+ && (allArgs[idx+1] == "--build-target" ||
+ allArgs[idx+1] == "--test-command"))
{
done = true;
}