summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2017-04-05 14:09:52 -0400
committerJonathan Abrahams <jonathan@mongodb.com>2017-04-05 14:09:52 -0400
commit6b44ad3ae202332ad276105e2a505ae7baf91ab4 (patch)
tree98e8d639cdaf7bbbeed47ac6c906dca472c1e206 /etc
parent8a11bb3af93dcaabdcfba01817733071e14e2f12 (diff)
downloadmongo-6b44ad3ae202332ad276105e2a505ae7baf91ab4.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.yml11
-rw-r--r--etc/test_lifecycle.yml7
2 files changed, 17 insertions, 1 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 900091fa3f7..5b1bc1a99a3 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" :
@@ -1297,6 +1305,7 @@ tasks:
- "./**.msi"
- "./etc/*san.suppressions"
- "./etc/repo_config.yaml"
+ - "./etc/test_lifecycle.yml"
- "./build/integration_tests/**"
- "./build/integration_tests.txt"
- "./build/**.gcno"
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