mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
(From Bill Hoffman & Sukender) Added Dashboard reports.
This commit is contained in:
parent
7a9fab52be
commit
7c1fecc94a
@ -822,6 +822,12 @@ IF(BUILD_CURL_TESTS)
|
|||||||
ADD_SUBDIRECTORY(tests)
|
ADD_SUBDIRECTORY(tests)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
OPTION(BUILD_DASHBOARD_REPORTS "Set to ON to activate reporting of cURL builds here http://www.cdash.org/CDashPublic/index.php?project=CURL" OFF)
|
||||||
|
IF(BUILD_DASHBOARD_REPORTS)
|
||||||
|
INCLUDE(Dart)
|
||||||
|
#INCLUDE(CTest)
|
||||||
|
ENDIF(BUILD_DASHBOARD_REPORTS)
|
||||||
|
|
||||||
# This needs to be run very last so other parts of the scripts can take advantage of this.
|
# This needs to be run very last so other parts of the scripts can take advantage of this.
|
||||||
IF(NOT CURL_CONFIG_HAS_BEEN_RUN_BEFORE)
|
IF(NOT CURL_CONFIG_HAS_BEEN_RUN_BEFORE)
|
||||||
SET(CURL_CONFIG_HAS_BEEN_RUN_BEFORE 1 CACHE INTERNAL "Flag to track whether this is the first time running CMake or if CMake has been configured before")
|
SET(CURL_CONFIG_HAS_BEEN_RUN_BEFORE 1 CACHE INTERNAL "Flag to track whether this is the first time running CMake or if CMake has been configured before")
|
||||||
|
13
CTestConfig.cmake
Normal file
13
CTestConfig.cmake
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
## This file should be placed in the root directory of your project.
|
||||||
|
## Then modify the CMakeLists.txt file in the root directory of your
|
||||||
|
## project to incorporate the testing dashboard.
|
||||||
|
## # The following are required to uses Dart and the Cdash dashboard
|
||||||
|
## ENABLE_TESTING()
|
||||||
|
## INCLUDE(Dart)
|
||||||
|
set(CTEST_PROJECT_NAME "CURL")
|
||||||
|
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
|
||||||
|
|
||||||
|
set(CTEST_DROP_METHOD "http")
|
||||||
|
set(CTEST_DROP_SITE "www.cdash.org")
|
||||||
|
set(CTEST_DROP_LOCATION "/CDashPublic/submit.php?project=CURL")
|
||||||
|
set(CTEST_DROP_SITE_CDASH TRUE)
|
Loading…
x
Reference in New Issue
Block a user