diff options
-rw-r--r-- | Source/cmCTest.cxx | 1 | ||||
-rw-r--r-- | Tests/CTestTest3/test.cmake.in | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index f93091a..b782cd3 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -2083,6 +2083,7 @@ void cmCTest::Log(int logType, const char* file, int line, const char* msg) cmCTestLogOutputFileLine(std::cerr); std::cerr << msg; std::cerr.flush(); + cmSystemTools::SetErrorOccured(); break; default: cmCTestLogOutputFileLine(std::cout); diff --git a/Tests/CTestTest3/test.cmake.in b/Tests/CTestTest3/test.cmake.in index 79255ff..bac2751 100644 --- a/Tests/CTestTest3/test.cmake.in +++ b/Tests/CTestTest3/test.cmake.in @@ -16,7 +16,7 @@ SET(CTEST_MEMORYCHECK_SUPPRESSIONS_FILE "@MEMORYCHECK_SUPPRESSIONS_FILE@") SET(CTEST_MEMORYCHECK_COMMAND_OPTIONS "@MEMORYCHECK_COMMAND_OPTIONS@") SET(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@") SET(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}") -SET(CTEST_CHECKOUT_COMMAND "\"${CTEST_CVS_COMMAND}\" -q -z3 \"-d:pserver:anoncvs@www.cmake.org:/cvsroot/KWSys\" co -D CTest-Testing-Tag KWSys") +SET(CTEST_CHECKOUT_COMMAND "\"${CTEST_CVS_COMMAND}\" -q -z3 \"-d:pserver:anoncvs@www.cmake.org:/cvsroot/KWSys\" co -r CTest-Testing-Tag KWSys") CTEST_EMPTY_BINARY_DIRECTORY(${CTEST_BINARY_DIRECTORY}) |