summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2017-04-05 11:18:50 -0400
committerJonathan Abrahams <jonathan@mongodb.com>2017-04-05 11:18:50 -0400
commite0c09edaf7f3c42b098823c977a72cd7901012cd (patch)
tree3bdebc8788c8ee3a51e7e9b6c41601df5249ab68 /etc
parent39d74ea0f66cc56a005a78466ad8721971960fd0 (diff)
downloadmongo-e0c09edaf7f3c42b098823c977a72cd7901012cd.tar.gz
SERVER-28440 Add support to parse resmoke.py tags from a separate YAML file
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml10
-rw-r--r--etc/test_lifecycle.yml7
2 files changed, 16 insertions, 1 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 900091fa3f7..c74055ece31 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -578,7 +578,15 @@ functions:
${san_symbolizer} \
${snmp_config_path} \
${resmoke_wrapper} \
- ${python|/opt/mongodbtoolchain/v2/bin/python2} buildscripts/resmoke.py ${resmoke_args} $extra_args ${test_flags} --log=buildlogger --reportFile=report.json --taskId=${task_id} --staggerJobs=on
+ ${python|/opt/mongodbtoolchain/v2/bin/python2} buildscripts/resmoke.py \
+ ${resmoke_args} \
+ $extra_args \
+ ${test_flags} \
+ --log=buildlogger \
+ --reportFile=report.json \
+ --staggerJobs=on \
+ --tagFile=etc/test_lifecycle.yml \
+ --taskId=${task_id}
"do jepsen setup" :
diff --git a/etc/test_lifecycle.yml b/etc/test_lifecycle.yml
new file mode 100644
index 00000000000..2cd40f5492c
--- /dev/null
+++ b/etc/test_lifecycle.yml
@@ -0,0 +1,7 @@
+# This file is used to tag JS tests that run under resmoke.py.
+selector:
+ js_test:
+ # jstests/core/example.js: # Single file tag
+ # - example_tag
+ # jstests/core/all*.js # Multiple file tag
+ # - multiple_file_tag