summaryrefslogtreecommitdiff
path: root/evergreen/jstestfuzz_run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'evergreen/jstestfuzz_run.sh')
-rw-r--r--evergreen/jstestfuzz_run.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/evergreen/jstestfuzz_run.sh b/evergreen/jstestfuzz_run.sh
index d79ed69ac9b..9e6f94ee65b 100644
--- a/evergreen/jstestfuzz_run.sh
+++ b/evergreen/jstestfuzz_run.sh
@@ -1,12 +1,9 @@
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"
-cd src/jstestfuzz
-
-set -o errexit
-set -o verbose
+set -evo pipefail
-add_nodejs_to_path
+cd src/jstestfuzz
in_patch_build_flag=""
if [[ "${is_patch}" = "true" ]]; then
@@ -17,4 +14,4 @@ if [[ "${is_patch}" = "true" ]]; then
esac
fi
-eval npm run "${npm_command}" -- "${jstestfuzz_vars}" "${in_patch_build_flag}" --branch "${branch_name}"
+./src/scripts/npm_run.sh ${npm_command} -- ${jstestfuzz_vars} ${in_patch_build_flag} --branch ${branch_name}