summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAlexander Neben <alexander.neben@mongodb.com>2022-11-22 23:08:04 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-11-23 00:53:22 +0000
commit0e1b4c2e56442eeefcc67d9ea8e86f7159337a80 (patch)
tree7ce56f9cb3dcef74e09d5d4d8ebff7d20b3baba0 /etc
parentcbc3c7b43abd7e21e3f27e68c3631983524c6a65 (diff)
downloadmongo-0e1b4c2e56442eeefcc67d9ea8e86f7159337a80.tar.gz
SERVER-71534 Fixed fuzzer linting scripts
(cherry picked from commit abb9e2114622a4bf9052e5adfcaf28792ce189e9)
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml16
1 files changed, 12 insertions, 4 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 1b2ae0d7d28..afc98185a19 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -2182,28 +2182,36 @@ functions:
- command: shell.exec
type: test
params:
- working_dir: src
+ working_dir: src/jstestfuzz
shell: bash
script: |
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
+
# Run parse-jsfiles on 50 files at a time with 32 processes in parallel.
# Grep returns 1 if it fails to find a match.
- (grep "\.js$" modified_and_created_patch_files.txt || true) | xargs -P 32 -L 50 ./jstestfuzz/src/scripts/npm_run.sh --prefix jstestfuzz parse-jsfiles --
+ (grep "\.js$" ../modified_and_created_patch_files.txt || true) | xargs -P 32 -L 50 ./src/scripts/npm_run.sh parse-jsfiles --
"lint fuzzer sanity all":
- command: shell.exec
type: test
params:
- working_dir: src
+ working_dir: src/jstestfuzz
shell: bash
script: |
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
+
# Run parse-jsfiles on 50 files at a time with 32 processes in parallel.
- find "$PWD/jstests" "$PWD/src/mongo/db/modules/enterprise" -path "$PWD/jstests/third_party" -prune -o -name "*.js" -print | xargs -P 32 -L 50 ./jstestfuzz/src/scripts/npm_run.sh --prefix jstestfuzz parse-jsfiles --
+ 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 --
"run jstestfuzz":
- command: shell.exec