]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix: Also rename variables in DEAL_II_ADD_TEST
authorMatthias Maier <tamiko@kyomu.43-1.org>
Mon, 2 Sep 2013 19:58:37 +0000 (19:58 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Mon, 2 Sep 2013 19:58:37 +0000 (19:58 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30553 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_deal_ii_add_test.cmake

index 61c3fbf01867d9078dfcf7a786ddfcc1563f1079..dfbed272155c8c0755f3e1485bb0befaf0d35841 100644 (file)
 #
 # The following variables must be set:
 #
-# DEAL_II_TEST_DIFF
+# TEST_DIFF
 #   - specifying the executable and command line of the diff command to use
 #
-# DEAL_II_TEST_TIME_LIMIT
+# TEST_TIME_LIMIT
 #   - specifying the maximal wall clock time in seconds a test is allowed
 #     to run
 #
@@ -122,8 +122,7 @@ MACRO(DEAL_II_ADD_TEST _category _test_name)
 
       ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_test}/diff
         COMMAND
-          # TODO: Refactor...
-          ${DEAL_II_TEST_DIFF}
+          ${TEST_DIFF}
             ${CMAKE_CURRENT_BINARY_DIR}/${_test}/output
             ${_comparison}
             > ${CMAKE_CURRENT_BINARY_DIR}/${_test}/diff
@@ -154,7 +153,7 @@ MACRO(DEAL_II_ADD_TEST _category _test_name)
         )
       SET_TESTS_PROPERTIES(${_category}/${_test} PROPERTIES
         LABEL "${_category}"
-        TIMEOUT ${DEAL_II_TEST_TIME_LIMIT}
+        TIMEOUT ${TEST_TIME_LIMIT}
         )
 
     ENDIF()

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.