]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix
authorMatthias Maier <tamiko@kyomu.43-1.org>
Sun, 15 Sep 2013 15:23:28 +0000 (15:23 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Sun, 15 Sep 2013 15:23:28 +0000 (15:23 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30716 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/tests/CMakeLists.txt

index 17c971840c77a34f28b22eb80ec7feef58ac1163..29b9c61232c50388800d29b3a793360455315b83 100644 (file)
@@ -64,14 +64,13 @@ FOREACH(_build ${DEAL_II_BUILD_TYPES})
   DEAL_II_INSOURCE_SETUP_TARGET(${_target} ${_build})
 
   ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_target}-OK
-    COMMAND ${_target} > ${_target}-OK 2>&1
-      || (rm ${_target}-OK && exit 1)
+    COMMAND ${_target} > ${CMAKE_CURRENT_BINARY_DIR}/${_target}-OK 2>&1 || (rm ${_target}-OK && exit 1)
     WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
     )
   ADD_CUSTOM_TARGET(${_target}.run DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_target}-OK)
 
   ADD_TEST(NAME ${_target}
-    COMMAND ${CMAKE_COMMAND} -DTRGT=${_target} -DTEST=${_target}
+    COMMAND ${CMAKE_COMMAND} -DTRGT=${_target}.run -DTEST=${_target}
       -DDEAL_II_BINARY_DIR=${CMAKE_BINARY_DIR}
       -P ${CMAKE_SOURCE_DIR}/cmake/scripts/run_test.cmake
     WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}

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.