diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index d591018..148c228 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -43,14 +43,14 @@ endmacro(setup_test) # Standard regression test function(add_test_r TEST_NAME) setup_test() - add_test(${TEST_NAME} sh -c "${MPI_COMMANDS} ${CMAKE_BINARY_DIR}/${EXAWIND_EXE_NAME} ${MPIEXEC_POSTFLAGS} ${CURRENT_TEST_BINARY_DIR}/${TEST_NAME}.yaml > ${TEST_NAME}.log ${SAVE_GOLDS_COMMAND} ${FCOMPARE_COMMAND}") + add_test(${TEST_NAME} sh -c "${MPI_COMMANDS} ${CMAKE_BINARY_DIR}/${EXAWIND_EXE_NAME} ${MPIEXEC_POSTFLAGS} ${CURRENT_TEST_BINARY_DIR}/${TEST_NAME}.yaml 2>&1 | tee ${TEST_NAME}.log ${SAVE_GOLDS_COMMAND} ${FCOMPARE_COMMAND}") # Set properties for test set_tests_properties(${TEST_NAME} PROPERTIES TIMEOUT 5400 PROCESSORS ${TEST_NP} WORKING_DIRECTORY "${CURRENT_TEST_BINARY_DIR}/" LABELS "regression" - ATTACHED_FILES_ON_FAIL "${CURRENT_TEST_BINARY_DIR}/${TEST_NAME}.log") + ATTACHED_FILES "${CURRENT_TEST_BINARY_DIR}/${TEST_NAME}.log") endfunction(add_test_r) #=============================================================================