From f510aa75f43c1494f2346341252a32878cbedb53 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Fri, 23 Aug 2013 01:12:01 +0000 Subject: [PATCH] Fix git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30444 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/macros/macro_deal_ii_add_test.cmake | 8 +++++--- deal.II/cmake/scripts/run_test.cmake | 3 +++ tests/fe/fe_face_orientation_nedelec_010.output | 1 + 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/deal.II/cmake/macros/macro_deal_ii_add_test.cmake b/deal.II/cmake/macros/macro_deal_ii_add_test.cmake index 2d2dd4c8f8..b88892fdde 100644 --- a/deal.II/cmake/macros/macro_deal_ii_add_test.cmake +++ b/deal.II/cmake/macros/macro_deal_ii_add_test.cmake @@ -85,7 +85,8 @@ MACRO(DEAL_II_ADD_TEST _category _test_name) # ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_test}/output COMMAND ${_full_test} - COMMAND ${PERL_EXECUTABLE} -pi + COMMAND + ${PERL_EXECUTABLE} -pi ${CMAKE_SOURCE_DIR}/cmake/scripts/normalize.pl ${CMAKE_CURRENT_BINARY_DIR}/${_test}/output WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${_test} @@ -100,10 +101,11 @@ MACRO(DEAL_II_ADD_TEST _category _test_name) ENDIF() ADD_CUSTOM_TARGET(${_full_test}.diff - COMMAND ${DEAL_II_TEST_DIFF} + COMMAND + ${DEAL_II_TEST_DIFF} ${CMAKE_CURRENT_BINARY_DIR}/${_test}/output ${_comparison} - | tee ${CMAKE_CURRENT_BINARY_DIR}/${_test}/diff + > ${CMAKE_CURRENT_BINARY_DIR}/${_test}/diff DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_test}/output ${_comparison} diff --git a/deal.II/cmake/scripts/run_test.cmake b/deal.II/cmake/scripts/run_test.cmake index 9d52b2e0ba..44ffaafe0e 100644 --- a/deal.II/cmake/scripts/run_test.cmake +++ b/deal.II/cmake/scripts/run_test.cmake @@ -12,7 +12,10 @@ EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} ) IF("${_result_code}" STREQUAL "0") + MESSAGE("*** ***") MESSAGE("${TEST}: Diff successful") + MESSAGE(${_output}) + MESSAGE("*** ***") ELSE() diff --git a/tests/fe/fe_face_orientation_nedelec_010.output b/tests/fe/fe_face_orientation_nedelec_010.output index fad073357a..5933716ced 100644 --- a/tests/fe/fe_face_orientation_nedelec_010.output +++ b/tests/fe/fe_face_orientation_nedelec_010.output @@ -1,4 +1,5 @@ +32 DEAL::0 0 0 DEAL::0 0 0 DEAL::0 0 0 -- 2.39.5