Skip to content

Commit

Permalink
add {} to typecheck_test_outputs.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
LoiNguyenCS authored Nov 24, 2023
1 parent ce9bb8f commit 721daa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typecheck_test_outputs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ for testcase in * ; do
# javac relies on word splitting
# shellcheck disable=SC2046
javac -proc:only -nowarn $(find . -name "*.java") \
|| echo "Running javac on ${testcase}/expected issues one or more errors, which are printed above." ; returnval=2
|| { echo "Running javac on ${testcase}/expected issues one or more errors, which are printed above."; returnval=2; }
cd ../.. || exit 1
done

Expand All @@ -25,4 +25,4 @@ elif [ "${returnval}" = 2 ]; then
echo "Some expected test outputs do not compile successfully. See the above error output for details."
fi

exit ${returnval}
exit ${returnval}

0 comments on commit 721daa0

Please sign in to comment.