Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into indent_legend_groups
- Loading branch information
Showing
5,442 changed files
with
1,116,095 additions
and
636,589 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
SET (CTEST_SOURCE_DIRECTORY $ENV{CTEST_BUILD_DIR}) | ||
SET (CTEST_BINARY_DIRECTORY $ENV{CTEST_BUILD_DIR}/build) | ||
#SET (CTEST_SOURCE_DIRECTORY /usr/src/QGIS) | ||
#SET (CTEST_BINARY_DIRECTORY /usr/src/qgis-build) | ||
|
||
SET (CTEST_CMAKE_COMMAND "cmake") | ||
SET (CTEST_BUILD_COMMAND $ENV{CTEST_BUILD_COMMAND}) | ||
SET (CTEST_SITE "github.com") | ||
SET (CTEST_BUILD_NAME "$ENV{CTEST_BUILD_NAME}") | ||
SET (CTEST_BUILD_CONFIGURATION "Release") | ||
SET (CTEST_TEST_TIMEOUT 60) # 60 seconds | ||
IF(DEFINED ENV{CTEST_PARALLEL_LEVEL}) | ||
SET(PARALLEL_LEVEL $ENV{CTEST_PARALLEL_LEVEL}) | ||
ELSE(DEFINED ENV{CTEST_PARALLEL_LEVEL}) | ||
SET(PARALLEL_LEVEL 2) | ||
ENDIF(DEFINED ENV{CTEST_PARALLEL_LEVEL}) | ||
|
||
SET (INITIAL_CACHE " | ||
BUILDNAME:STRING=${CTEST_BUILD_NAME} | ||
SITE:STRING=${CTEST_SITE} | ||
CTEST_USE_LAUNCHERS:BOOL=ON | ||
") | ||
|
||
SET (CTEST_NOTES_FILES | ||
${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME} | ||
${CTEST_BINARY_DIRECTORY}/CMakeCache.txt | ||
) | ||
|
||
IF(NOT WIN32) | ||
STRING(ASCII 27 Esc) | ||
SET(ColorReset "${Esc}[m") | ||
SET(ColorBold "${Esc}[1m") | ||
SET(Red "${Esc}[31m") | ||
SET(Green "${Esc}[32m") | ||
SET(Yellow "${Esc}[33m") | ||
SET(Blue "${Esc}[34m") | ||
SET(Magenta "${Esc}[35m") | ||
SET(Cyan "${Esc}[36m") | ||
SET(White "${Esc}[37m") | ||
SET(BoldRed "${Esc}[1;31m") | ||
SET(BoldGreen "${Esc}[1;32m") | ||
SET(BoldYellow "${Esc}[1;33m") | ||
SET(BoldBlue "${Esc}[1;34m") | ||
SET(BoldMagenta "${Esc}[1;35m") | ||
SET(BoldCyan "${Esc}[1;36m") | ||
SET(BoldWhite "${Esc}[1;37m") | ||
ENDIF(NOT WIN32) | ||
|
||
# Create link to test results | ||
# CDash on OTB requires the date to be set for the search to work (used to be UTC-6, seems to be UTC now) | ||
SET(ENV{TZ} "UTC") | ||
EXECUTE_PROCESS(COMMAND date +%Y-%m-%d OUTPUT_VARIABLE CDASH_DATE) | ||
SET(RESULT_LINK "http://cdash.orfeo-toolbox.org/index.php?project=QGIS&filtercount=1&showfilters=1&field1=buildname/string&compare1=63&value1=$ENV{CTEST_BUILD_NAME}&date=${CDASH_DATE}") | ||
EXECUTE_PROCESS(COMMAND curl --data-urlencode "url=${RESULT_LINK}" -s http://tinyurl.com/api-create.php | ||
OUTPUT_VARIABLE SHORTURL) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
include(${CMAKE_CURRENT_LIST_DIR}/config.ctest) | ||
|
||
# Requires a track on the CDash server | ||
ctest_start(Experimental) | ||
|
||
ctest_build (BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE BUILDRES NUMBER_WARNINGS NUMWARN NUMBER_ERRORS NUMERR) | ||
|
||
|
||
SET(IGNORE_BUILD_FAILURES $ENV{IGNORE_BUILD_FAILURES}) | ||
IF(NOT IGNORE_BUILD_FAILURES) | ||
IF(NOT ${BUILDRES} EQUAL 0 OR NOT ${NUMERR} EQUAL 0) | ||
ctest_submit (RETRY_COUNT 3 RETRY_DELAY 30) | ||
MESSAGE("") | ||
MESSAGE(" ${Yellow}Test results submitted to:${ColorReset} ${SHORTURL}") | ||
MESSAGE("") | ||
MESSAGE( FATAL_ERROR " ${Red}Build failed. Not running tests.${ColorReset}" ) | ||
MESSAGE("") | ||
ENDIF(NOT ${BUILDRES} EQUAL 0 OR NOT ${NUMERR} EQUAL 0) | ||
ENDIF(NOT IGNORE_BUILD_FAILURES) | ||
|
||
IF(${BUILDRES} EQUAL 0 OR ${NUMERR} EQUAL 0) | ||
MESSAGE("") | ||
MESSAGE(" ${BoldGreen}Success${ColorReset}") | ||
MESSAGE(" ${Green}Build passed successfully.${ColorReset}") | ||
MESSAGE("") | ||
MESSAGE("") | ||
ENDIF(${BUILDRES} EQUAL 0 OR ${NUMERR} EQUAL 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
include(${CMAKE_CURRENT_LIST_DIR}/config.ctest) | ||
|
||
# Requires a track on the CDash server | ||
ctest_start(Experimental) | ||
|
||
ctest_test (BUILD "${CTEST_BINARY_DIRECTORY}" PARALLEL_LEVEL ${PARALLEL_LEVEL} RETURN_VALUE TESTRES) | ||
IF(NOT ${TESTRES} EQUAL 0) | ||
ctest_submit (RETRY_COUNT 3 RETRY_DELAY 30) | ||
MESSAGE("") | ||
MESSAGE(" ${Yellow}Test results submitted to:${ColorReset} ${SHORTURL}" ) | ||
MESSAGE("") | ||
SET(LEVEL "") | ||
IF(NOT ${TESTRES} EQUAL 0) | ||
SET(TESTRES_MESSAGE " Tests failed.") | ||
SET(LEVEL FATAL_ERROR) | ||
ENDIF(NOT ${TESTRES} EQUAL 0) | ||
MESSAGE( ${LEVEL} " ${Red}${TESTRES_MESSAGE} ${ColorReset}" ) | ||
ENDIF(NOT ${TESTRES} EQUAL 0) | ||
|
||
IF(NOT ${TESTRES} EQUAL 0) | ||
MESSAGE("") | ||
MESSAGE(" ${BoldGreen}Success${ColorReset}") | ||
MESSAGE(" ${Green}All tests passed successfully.${ColorReset}") | ||
MESSAGE("") | ||
MESSAGE("") | ||
ENDIF(NOT ${TESTRES} EQUAL 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.