From 3cf0ad637a4a376158e2ac4a38ffb7a466ee3b60 Mon Sep 17 00:00:00 2001 From: Jon Rood Date: Tue, 24 Sep 2024 12:49:24 -0600 Subject: [PATCH] Report test failures correctly. --- reg_tests/CTestList.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reg_tests/CTestList.cmake b/reg_tests/CTestList.cmake index 49e919d4b..94c823ff4 100644 --- a/reg_tests/CTestList.cmake +++ b/reg_tests/CTestList.cmake @@ -24,7 +24,7 @@ macro(setup_test testname np) set(OUTPUT_FILE_R0 "${testname}_R0.log") set(OUTPUT_FILE_R1 "${testname}_R0.log") set(OUTPUT_FILE_NP "${testname}Np${np}.log") - set(RUN_COMMAND "${MPI_COMMAND} -i ${INPUT_FILE} -o ${OUTPUT_FILE} 2>&1; cat ${OUTPUT_FILE}") + set(RUN_COMMAND "${MPI_COMMAND} -i ${INPUT_FILE} -o ${OUTPUT_FILE} 2>&1 && cat ${OUTPUT_FILE}") set(RUN_COMMAND_RST "${MPI_COMMAND} -i ${INPUT_FILE_RST} -o ${OUTPUT_FILE_RST}") set(RUN_COMMAND_R0 "${MPI_COMMAND} -i ${INPUT_FILE_R0} -o ${OUTPUT_FILE_R0}") set(RUN_COMMAND_R1 " && ${MPI_COMMAND} -i ${INPUT_FILE_R1} -o ${OUTPUT_FILE_R1}")