forked from E3SM-Project/scorpio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCTestConfig.cmake
26 lines (23 loc) · 926 Bytes
/
CTestConfig.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## 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 submit to the CDash dashboard:
## ENABLE_TESTING()
## INCLUDE(CTest)
set (CTEST_PROJECT_NAME "SCORPIO")
set (CTEST_NIGHTLY_START_TIME "00:00:00 EST")
set (CTEST_DROP_METHOD "http")
if (DEFINED ENV{PIO_DASHBOARD_DROP_SITE})
set (CTEST_DROP_SITE "$ENV{PIO_DASHBOARD_DROP_SITE}")
else ()
set (CTEST_DROP_SITE "my.cdash.org")
endif ()
if (DEFINED ENV{PIO_DASHBOARD_PROJECT_NAME})
set (CTEST_DROP_LOCATION "/submit.php?project=$ENV{PIO_DASHBOARD_PROJECT_NAME}")
else ()
set (CTEST_DROP_LOCATION "/submit.php?project=E3SM_SCORPIO")
endif ()
set (CTEST_DROP_SITE_CDASH TRUE)
set (CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 1000)
set (CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 1048576)