Skip to content

Commit

Permalink
Report test failures correctly. (#1309)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrood-nrel authored Sep 24, 2024
1 parent 82d357b commit 30cc003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reg_tests/CTestList.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 30cc003

Please sign in to comment.