summaryrefslogtreecommitdiff
path: root/evergreen/lint_fuzzer_sanity_all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'evergreen/lint_fuzzer_sanity_all.sh')
-rw-r--r--evergreen/lint_fuzzer_sanity_all.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/evergreen/lint_fuzzer_sanity_all.sh b/evergreen/lint_fuzzer_sanity_all.sh
index 9c2159824e1..16ae53b923c 100644
--- a/evergreen/lint_fuzzer_sanity_all.sh
+++ b/evergreen/lint_fuzzer_sanity_all.sh
@@ -1,14 +1,12 @@
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"
-cd src/jstestfuzz
+cd src
set -eo pipefail
set -o verbose
-# Run first with help which will do the install
-# Then we can run it in parallel
-./src/scripts/npm_run.sh --help
+add_nodejs_to_path
+
# Run parse-jsfiles on 50 files at a time with 32 processes in parallel.
-# Skip javascript files in third_party directory
-find "$PWD/../jstests" "$PWD/../src/mongo/db/modules/enterprise" -path "$PWD/../jstests/third_party" -prune -o -name "*.js" -print | xargs -P 32 -L 50 ./src/scripts/npm_run.sh parse-jsfiles --
+find "$PWD/jstests" "$PWD/src/mongo/db/modules/enterprise" -name "*.js" -print | xargs -P 32 -L 50 npm run --prefix jstestfuzz parse-jsfiles --