[cig-commits] commit 2350 by heister to /var/svn/dealii/aspect
dealii.demon at gmail.com
dealii.demon at gmail.com
Wed Mar 26 06:32:11 PDT 2014
Revision 2350
make submit optional
U trunk/aspect/tests/run_testsuite.cmake
http://www.dealii.org/websvn/revision.php?repname=Aspect+Repository&path=%2F&rev=2350&peg=2350
Diff:
Modified: trunk/aspect/tests/run_testsuite.cmake
===================================================================
--- trunk/aspect/tests/run_testsuite.cmake 2014-03-26 13:14:43 UTC (rev 2349)
+++ trunk/aspect/tests/run_testsuite.cmake 2014-03-26 13:32:09 UTC (rev 2350)
@@ -87,6 +87,9 @@
# MAKEOPTS
# - Additional options that will be passed directly to make (or ninja).
#
+# SUBMIT
+# - default OFF, set to ON to submit to our cdash instance
+#
# Furthermore, the following variables controlling the testsuite can be set
# and will be automatically handed down to cmake:
#
@@ -509,9 +512,13 @@
)
ENDIF()
+IF("${submit}")
MESSAGE("-- Running CTEST_SUBMIT()")
CTEST_SUBMIT(RETURN_VALUE _res)
IF("${_res}" STREQUAL "0")
MESSAGE("-- Submission successful. Goodbye!")
ENDIF()
+ELSE()
+MESSAGE("-- Submission skipped. Run with submit=ON")
+ENDIF()
More information about the CIG-COMMITS
mailing list