Skip to content

Commit

Permalink
util CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed Jul 3, 2023
1 parent 2b7505c commit 101b9d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions util/util_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ function run_and_check(){
label=$2
shift 2
echo "Running '$*' in $PWD"
eval "$*" &> /dev/null
eval "$*" &> output
if [ $? -ne $expected ]; then
echo "Test $label failed!"
echo "Test $label failed! Output:"
cat output
echo
fail=1
fi
}
Expand Down

0 comments on commit 101b9d6

Please sign in to comment.