Browse Source

exit 1 if the test script itself fails

main
Brian Hicks 2 years ago
parent
commit
e57657a76e
  1. 4
      script/run-integration-tests.sh

4
script/run-integration-tests.sh

@ -26,6 +26,10 @@ run_test() {
echo "===== $NAME"
env ELM_FORBID_IMPORT_CONFIG="tmp/forbidden-imports.toml" bash -xeou pipefail "$TEST_FILE" > "$CURRENT"
if test "$?" != "0"; then
return 1
fi
mv tmp/forbidden-imports.toml "$CURRENT_CONFIG"
if ! test -e "$GOLDEN"; then

Loading…
Cancel
Save