summaryrefslogtreecommitdiff
path: root/evergreen
diff options
context:
space:
mode:
authortrahman1318 <tausif.rahman@mongodb.com>2021-10-29 18:35:02 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-29 19:18:11 +0000
commit7a2b65f1eb6910694f0f17e5c8fc2f20df0f1d25 (patch)
tree0d8eb653258ebf975ccf7e0c97fe9709465932f1 /evergreen
parent6df5ff6a933e11275ccece75d1708c17d726ddb1 (diff)
downloadmongo-7a2b65f1eb6910694f0f17e5c8fc2f20df0f1d25.tar.gz
SERVER-59450 Add a resmoke.py subcommand to invoke minimizer runner [evergreen task updates]
Diffstat (limited to 'evergreen')
-rw-r--r--evergreen/jstestfuzz_minimize.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/evergreen/jstestfuzz_minimize.sh b/evergreen/jstestfuzz_minimize.sh
new file mode 100644
index 00000000000..13ddbaf5709
--- /dev/null
+++ b/evergreen/jstestfuzz_minimize.sh
@@ -0,0 +1,13 @@
+DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
+. "$DIR/prelude.sh"
+
+cd src/jstestfuzz
+
+set -o errexit
+set -o verbose
+
+add_nodejs_to_path
+
+if [ -f "../minimizer-outputs.json" ]; then
+ eval npm run ${npm_command} -- -j "../minimizer-outputs.json"
+fi