]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Testsuite: Print submission URL after successful upload in run_testsuite.cmake
authorMatthias Maier <tamiko@43-1.org>
Tue, 11 Jul 2023 06:13:09 +0000 (01:13 -0500)
committerMatthias Maier <tamiko@43-1.org>
Tue, 11 Jul 2023 15:07:46 +0000 (10:07 -0500)
tests/run_testsuite.cmake

index e30878300e26c2f4ec975b85d1ea475a2a2c48cb..d848b54e2feafcbfb7c67e82b690a2242078d0ea 100644 (file)
@@ -95,7 +95,7 @@
 # For details, consult the ./README file.
 #
 
-cmake_minimum_required(VERSION 3.3.0)
+cmake_minimum_required(VERSION 3.15.0)
 message("-- This is CTest ${CMAKE_VERSION}")
 
 #
@@ -582,11 +582,16 @@ endif()
 
 if(NOT SKIP_SUBMISSION)
   message("-- Running ctest_submit()")
-  ctest_submit(RETURN_VALUE _res)
+  ctest_submit(RETURN_VALUE _res BUILD_ID _build_id)
 
   if("${_res}" STREQUAL "0")
-    message("-- Submission successful. Goodbye!")
+    message("-- Submission successful.")
+    message("###
+#
+# Site:          ${CTEST_SITE}
+# Configuration: ${CTEST_BUILD_NAME}
+# Results:       https://cdash.dealii.org/build/${_build_id}
+#
+###
   endif()
 endif()
-
-# .oO( This script is freaky 606 lines long... )

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.