Skip to content

Commit b8ba251

Browse files
run_compile.sh: do not duplicate redirect_out_err
1 parent eef6e73 commit b8ba251

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/run_compile.sh

+1-4
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,7 @@ if [[ ${ROCOTO} = 'false' ]]; then
8282
submit_and_wait job_card
8383
else
8484
chmod u+x job_card
85-
( ./job_card 2>&1 1>&3 3>&- | tee err ) 3>&1 1>&2 | tee out
86-
# The above shell redirection copies stdout to "out" and stderr to "err"
87-
# while still sending them to stdout and stderr. It does this without
88-
# relying on bash-specific extensions or non-standard OS features.
85+
redirect_out_err ./job_card
8986
fi
9087
#ls -l "${PATHTR}/tests/fv3_${COMPILE_ID}.exe"
9188

0 commit comments

Comments
 (0)