[cig-commits] commit 2044 by bangerth to /var/svn/dealii/aspect
dealii.demon at gmail.com
dealii.demon at gmail.com
Sun Nov 24 16:24:30 PST 2013
Revision 2044
Split running and submitting test results into two steps, so we can accomodate the tester machine that has no connection to the outside world.
U trunk/aspect/tests/run_testsuite.cmake
A trunk/aspect/tests/submit_results.cmake
http://www.dealii.org/websvn/revision.php?repname=Aspect+Repository&path=%2F&rev=2044&peg=2044
Diff:
Modified: trunk/aspect/tests/run_testsuite.cmake
===================================================================
--- trunk/aspect/tests/run_testsuite.cmake 2013-11-24 23:47:57 UTC (rev 2043)
+++ trunk/aspect/tests/run_testsuite.cmake 2013-11-25 00:23:52 UTC (rev 2044)
@@ -256,20 +256,6 @@
# Pass all relevant variables down to configure:
GET_CMAKE_PROPERTY(_variables VARIABLES)
- # TODO
- #FOREACH(_var ${_variables})
- # IF( _var MATCHES "^(TEST|DEAL_II|ALLOW|WITH|FORCE|COMPONENT)_" OR
- # _var MATCHES "^(COMPAT_FILES|DOCUMENTATION|EXAMPLES|MESH_CONVERTER|PARAMETER_GUI)" OR
- # _var MATCHES "^(ARPACK|BOOST|FUNCTIONPARSER|HDF5|METIS|MPI|MUMPS)_" OR
- # _var MATCHES "^(NETCDF|P4EST|PETSC|SLEPC|THREADS|TBB|TRILINOS)_" OR
- # _var MATCHES "^(UMFPACK|ZLIB|LAPACK)_" OR
- # _var MATCHES "^(CMAKE|DEAL_II)_(C|CXX|Fortran|BUILD)_(COMPILER|FLAGS)" OR
- # _var MATCHES "^CMAKE_BUILD_TYPE$" OR
- # _var MATCHES "MAKEOPTS" OR
- # ( NOT _var MATCHES "^[_]*CMAKE" AND _var MATCHES "_DIR$" ) )
- # LIST(APPEND _options "-D${_var}=${${_var}}")
- # ENDIF()
- #ENDFOREACH()
#
# CTEST_BUILD_NAME:
@@ -516,14 +502,3 @@
)
ENDIF()
-#
-# And finally submit:
-#
-
-MESSAGE("-- Running CTEST_SUBMIT()")
-CTEST_SUBMIT(RETURN_VALUE _res)
-
-IF("${_res}" STREQUAL "0")
- MESSAGE("-- Submission successful. Goodbye!")
-ENDIF()
-
Copied: trunk/aspect/tests/submit_results.cmake (from rev 2043, trunk/aspect/tests/run_testsuite.cmake)
===================================================================
--- trunk/aspect/tests/submit_results.cmake (rev 0)
+++ trunk/aspect/tests/submit_results.cmake 2013-11-25 00:23:52 UTC (rev 2044)
@@ -0,0 +1,38 @@
+#
+# Copyright (C) 2013 by Matthias Maier
+#
+# This file is part of ASPECT.
+#
+# ASPECT is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# ASPECT is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with ASPECT; see the file doc/COPYING. If not see
+# <http://www.gnu.org/licenses/>.
+#
+# $Id$
+
+
+
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
+MESSAGE("-- This is CTest ${CMAKE_VERSION}")
+
+
+#
+# And finally submit:
+#
+
+MESSAGE("-- Running CTEST_SUBMIT()")
+CTEST_SUBMIT(RETURN_VALUE _res)
+
+IF("${_res}" STREQUAL "0")
+ MESSAGE("-- Submission successful. Goodbye!")
+ENDIF()
+
More information about the CIG-COMMITS
mailing list