Skip to content

Commit

Permalink
run_compile.sh: do not duplicate redirect_out_err
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelTrahanNOAA committed Jun 27, 2024
1 parent eef6e73 commit b8ba251
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/run_compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,7 @@ if [[ ${ROCOTO} = 'false' ]]; then
submit_and_wait job_card
else
chmod u+x job_card
( ./job_card 2>&1 1>&3 3>&- | tee err ) 3>&1 1>&2 | tee out
# The above shell redirection copies stdout to "out" and stderr to "err"
# while still sending them to stdout and stderr. It does this without
# relying on bash-specific extensions or non-standard OS features.
redirect_out_err ./job_card
fi
#ls -l "${PATHTR}/tests/fv3_${COMPILE_ID}.exe"

Expand Down

0 comments on commit b8ba251

Please sign in to comment.