Skip to content

Commit

Permalink
CDash/CTest updates + cdash.nersc.gov
Browse files Browse the repository at this point in the history
- migrated CDash dashboard to cdash.nersc.gov (requires token + https)
- fixed double submission in cdash/Submit.cmake
  • Loading branch information
jrmadsen committed Jun 7, 2018
1 parent 35e52cb commit ff55851
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions CTestConfig.cmake
Expand Up @@ -29,9 +29,9 @@ endif(NOT DEFINED CTEST_SITE)

set(CTEST_PROJECT_NAME "TiMemory")
set(CTEST_NIGHTLY_START_TIME "01:00:00 PDT")
set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "jonathan-madsen.info")
set(CTEST_DROP_LOCATION "/cdash/public/submit.php?project=TiMemory")
set(CTEST_DROP_METHOD "https")
set(CTEST_DROP_SITE "cdash.nersc.gov")
set(CTEST_DROP_LOCATION "/submit.php?project=${CTEST_PROJECT_NAME}")
set(CTEST_DROP_SITE_CDASH TRUE)
set(CTEST_CDASH_VERSION "1.6")
set(CTEST_CDASH_QUERY_VERSION TRUE)
1 change: 0 additions & 1 deletion cmake/Templates/cdash/Init.cmake.in
Expand Up @@ -285,7 +285,6 @@ macro(SUBMIT KEY)
if("${TRIGGER}" STREQUAL "Any" OR "${TRIGGER}" STREQUAL "Submit")
read_notes()
submit_command(${ARGN})
ctest_submit(RETURN_VALUE ret ${ARGN})
else("${TRIGGER}" STREQUAL "Any" OR "${TRIGGER}" STREQUAL "Submit")
if("${TRIGGER}" STREQUAL "${KEY}")
submit_command(${ARGN})
Expand Down
6 changes: 5 additions & 1 deletion cmake/Templates/cdash/Submit.cmake.in
Expand Up @@ -9,7 +9,11 @@ set(TRIGGER "Submit" CACHE STRING "Delay submit until TRIGGER == '(Any|Build|Tes

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

setup(Submit)
unset(CTEST_CHECKOUT_COMMAND)
configure_ctest_files()
ctest_start(${MODEL} TRACK ${MODEL} APPEND)
configure_ctest_files()
ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}")
submit(Submit RETRY_COUNT 5 RETRY_DELAY 30)

message(" -- Finished ${MODEL} Submission - ${CTEST_BUILD_NAME} --")
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -161,7 +161,7 @@ def compose(str):
if install.user_options[0][1] is None:
self.devel_install = sys.prefix
else:
self.devel_install = unstall.user_options[0][1]
self.devel_install = install.user_options[0][1]
devel_install_path = self.devel_install
if not os.path.isabs(devel_install_path):
devel_install_path = os.path.realpath(devel_install_path)
Expand Down

0 comments on commit ff55851

Please sign in to comment.