mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
17 lines
672 B
Bash
17 lines
672 B
Bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
|
|
. "$DIR/prelude.sh"
|
|
|
|
cd src
|
|
|
|
set -o pipefail
|
|
set -o verbose
|
|
|
|
# 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 ./jstestfuzz/src/scripts/npm_run.sh --prefix jstestfuzz parse-jsfiles -- | tee lint_fuzzer_sanity.log
|
|
exit_code=$?
|
|
|
|
activate_venv
|
|
$python ./buildscripts/simple_report.py --test-name lint_fuzzer_sanity_all --log-file lint_fuzzer_sanity.log --exit-code $exit_code
|
|
exit $exit_code
|