Temporarily disable Travis submission to cdash

Cdash is down and this causes false failures
This commit is contained in:
Nyall Dawson 2015-02-02 16:02:01 +11:00
parent 6e9468811e
commit 8c1675a06a

View File

@ -32,18 +32,18 @@ ${CTEST_BINARY_DIRECTORY}/CMakeCache.txt
ctest_start(Experimental) ctest_start(Experimental)
ctest_build (BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE BUILDRES) ctest_build (BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE BUILDRES)
IF(NOT ${BUILDRES} EQUAL 0) IF(NOT ${BUILDRES} EQUAL 0)
ctest_submit () #ctest_submit ()
MESSAGE( FATAL_ERROR "Build failed." ) MESSAGE( FATAL_ERROR "Build failed." )
ENDIF(NOT ${BUILDRES} EQUAL 0) ENDIF(NOT ${BUILDRES} EQUAL 0)
ctest_test (BUILD "${CTEST_BINARY_DIRECTORY}" PARALLEL_LEVEL 2 RETURN_VALUE TESTRES) ctest_test (BUILD "${CTEST_BINARY_DIRECTORY}" PARALLEL_LEVEL 2 RETURN_VALUE TESTRES)
IF(NOT ${TESTRES} EQUAL 0) IF(NOT ${TESTRES} EQUAL 0)
ctest_submit () #ctest_submit ()
MESSAGE( FATAL_ERROR "Test failed." ) MESSAGE( FATAL_ERROR "Test failed." )
ENDIF(NOT ${TESTRES} EQUAL 0) ENDIF(NOT ${TESTRES} EQUAL 0)
ctest_submit (RETRY_COUNT 3 RETRY_DELAY 30) #ctest_submit (RETRY_COUNT 3 RETRY_DELAY 30)
# CDash on OTB requires the date to be set for the search to work and that's the timezone this requires # CDash on OTB requires the date to be set for the search to work and that's the timezone this requires
SET(ENV{TZ} "UTC-6") SET(ENV{TZ} "UTC-6")
EXECUTE_PROCESS(COMMAND date +%Y-%m-%d OUTPUT_VARIABLE CDASH_DATE) EXECUTE_PROCESS(COMMAND date +%Y-%m-%d OUTPUT_VARIABLE CDASH_DATE)
MESSAGE("Test results submitted to\n http://dash.orfeo-toolbox.org/queryTests.php?project=QGIS&date=${CDASH_DATE}&filtercount=1&field1=buildname/string&compare1=63&value1=$ENV{TRAVIS_COMMIT}" ) #MESSAGE("Test results submitted to\n http://dash.orfeo-toolbox.org/queryTests.php?project=QGIS&date=${CDASH_DATE}&filtercount=1&field1=buildname/string&compare1=63&value1=$ENV{TRAVIS_COMMIT}" )