Skip to content
This repository was archived by the owner on Jul 31, 2024. It is now read-only.

Commit ff55851

Browse files
committed
CDash/CTest updates + cdash.nersc.gov
- migrated CDash dashboard to cdash.nersc.gov (requires token + https) - fixed double submission in cdash/Submit.cmake
1 parent 35e52cb commit ff55851

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

CTestConfig.cmake

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ endif(NOT DEFINED CTEST_SITE)
2929

3030
set(CTEST_PROJECT_NAME "TiMemory")
3131
set(CTEST_NIGHTLY_START_TIME "01:00:00 PDT")
32-
set(CTEST_DROP_METHOD "http")
33-
set(CTEST_DROP_SITE "jonathan-madsen.info")
34-
set(CTEST_DROP_LOCATION "/cdash/public/submit.php?project=TiMemory")
32+
set(CTEST_DROP_METHOD "https")
33+
set(CTEST_DROP_SITE "cdash.nersc.gov")
34+
set(CTEST_DROP_LOCATION "/submit.php?project=${CTEST_PROJECT_NAME}")
3535
set(CTEST_DROP_SITE_CDASH TRUE)
3636
set(CTEST_CDASH_VERSION "1.6")
3737
set(CTEST_CDASH_QUERY_VERSION TRUE)

cmake/Templates/cdash/Init.cmake.in

-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ macro(SUBMIT KEY)
285285
if("${TRIGGER}" STREQUAL "Any" OR "${TRIGGER}" STREQUAL "Submit")
286286
read_notes()
287287
submit_command(${ARGN})
288-
ctest_submit(RETURN_VALUE ret ${ARGN})
289288
else("${TRIGGER}" STREQUAL "Any" OR "${TRIGGER}" STREQUAL "Submit")
290289
if("${TRIGGER}" STREQUAL "${KEY}")
291290
submit_command(${ARGN})

cmake/Templates/cdash/Submit.cmake.in

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ set(TRIGGER "Submit" CACHE STRING "Delay submit until TRIGGER == '(Any|Build|Tes
99

1010
include("${CMAKE_CURRENT_LIST_DIR}/Init.cmake")
1111

12-
setup(Submit)
12+
unset(CTEST_CHECKOUT_COMMAND)
13+
configure_ctest_files()
14+
ctest_start(${MODEL} TRACK ${MODEL} APPEND)
15+
configure_ctest_files()
16+
ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}")
1317
submit(Submit RETRY_COUNT 5 RETRY_DELAY 30)
1418

1519
message(" -- Finished ${MODEL} Submission - ${CTEST_BUILD_NAME} --")

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def compose(str):
161161
if install.user_options[0][1] is None:
162162
self.devel_install = sys.prefix
163163
else:
164-
self.devel_install = unstall.user_options[0][1]
164+
self.devel_install = install.user_options[0][1]
165165
devel_install_path = self.devel_install
166166
if not os.path.isabs(devel_install_path):
167167
devel_install_path = os.path.realpath(devel_install_path)

0 commit comments

Comments
 (0)