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}")