]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Cleanup and provide some more output
authorMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 17 Oct 2013 14:24:58 +0000 (14:24 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 17 Oct 2013 14:24:58 +0000 (14:24 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31283 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/scripts/run_testsuite.cmake

index d9ab676ae2aa7b3762868565565b0e56e616ad04..58ee5d60134e66928e65547ef4401392227c50cd 100644 (file)
@@ -218,6 +218,8 @@ CTEST_CMAKE_GENERATOR was set to a different Generator \"${CTEST_CMAKE_GENERATOR
   ENDIF()
 ENDIF()
 
+MESSAGE("-- CTEST_CMAKE_GENERATOR:  ${CTEST_CMAKE_GENERATOR}")
+
 #
 # CTEST_SITE:
 #
@@ -398,6 +400,8 @@ under Subversion version control.
   SET(CTEST_COVERAGE_COMMAND "${GCOV_COMMAND}")
 ENDIF()
 
+MESSAGE("-- COVERAGE:               ${COVERAGE}")
+
 
 ########################################################################
 #                                                                      #
@@ -411,16 +415,19 @@ ENDIF()
 
 CTEST_START(Experimental TRACK ${TRACK})
 
+MESSAGE("-- Running CTEST_CONFIGURE()")
 CTEST_CONFIGURE(OPTIONS "${_options}" RETURN_VALUE _res)
 
 IF("${_res}" STREQUAL "0")
   # Only run the build stage if configure was successful:
 
+  MESSAGE("-- Running CTEST_BUILD()")
   CTEST_BUILD(TARGET NUMBER_ERRORS _res)
 
   IF("${_res}" STREQUAL "0")
     # Only run tests if the build was successful:
 
+    MESSAGE("-- Running make setup_tests")
     EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND}
       --build ${CTEST_BINARY_DIRECTORY} --target setup_tests
       OUTPUT_QUIET RESULT_VARIABLE _res
@@ -432,9 +439,11 @@ IF("${_res}" STREQUAL "0")
         )
     ENDIF()
 
+    MESSAGE("-- Running CTEST_TESTS()")
     CTEST_TEST()
 
     IF(COVERAGE)
+      MESSAGE("-- Running CTEST_COVERAGE()")
       CTEST_COVERAGE()
     ENDIF(COVERAGE)
 
@@ -484,6 +493,11 @@ ENDIF()
 # And finally submit:
 #
 
-CTEST_SUBMIT()
+MESSAGE("-- Running CTEST_SUBMIT()")
+CTEST_SUBMIT(RETURN_VALUE _res)
+
+IF("${_res}" STREQUAL "0")
+  MESSAGE("-- Submission successful. Goodbye!")
+ENDIF()
 
-# .oO( This script is freaky 457 lines long... )
+# .oO( This script is freaky 503 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.