ENH: Return error if there is an ERROR_MESSAGE. Also fix tag for the test

This commit is contained in:
Andy Cedilnik 2005-06-16 16:24:39 -04:00
parent ed75322836
commit 73fe7c316a
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -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})