diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-11-09 16:07:36 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-11-09 16:07:36 (GMT) |
commit | 4e9d832525c2648314c7c0dc7f3d1a73b181eb09 (patch) | |
tree | e4287bcff167bee1f909ae381524ea9537969d21 /Source/CTest | |
parent | a285a90809a2b2b9cb0884e3e12eba7c5e3e1f09 (diff) | |
download | CMake-4e9d832525c2648314c7c0dc7f3d1a73b181eb09.zip CMake-4e9d832525c2648314c7c0dc7f3d1a73b181eb09.tar.gz CMake-4e9d832525c2648314c7c0dc7f3d1a73b181eb09.tar.bz2 |
ENH: Change flag to PASS_REGULAR_EXPRESSION and FAIL_REGULAR_EXPRESSION and add help in cmSetTestsPropertiesCommand
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestTestHandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index 0385cd7..478e32e 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -1558,7 +1558,7 @@ bool cmCTestTestHandler::SetTestsProperties(const std::vector<std::string>& args { rtit->m_WillFail = cmSystemTools::IsOn(val.c_str()); } - if ( key == "ERROR_REGULAR_EXPRESSION" ) + if ( key == "FAIL_REGULAR_EXPRESSION" ) { std::vector<std::string> lval; cmSystemTools::ExpandListArgument(val.c_str(), lval); @@ -1568,7 +1568,7 @@ bool cmCTestTestHandler::SetTestsProperties(const std::vector<std::string>& args rtit->m_ErrorRegularExpressions.push_back(cmsys::RegularExpression(crit->c_str())); } } - if ( key == "REQUIRED_REGULAR_EXPRESSION" ) + if ( key == "PASS_REGULAR_EXPRESSION" ) { std::vector<std::string> lval; cmSystemTools::ExpandListArgument(val.c_str(), lval); |