summaryrefslogtreecommitdiff
path: root/buildscripts/resmokelib/selector.py
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2018-07-27 10:52:11 -0400
committerJonathan Abrahams <jonathan@mongodb.com>2018-08-13 12:23:29 -0400
commita444720202d97795b71cf2daaaa2bea94b430ef9 (patch)
tree6fcfe945019d2f3cf47b6b92969f270ffe771bf0 /buildscripts/resmokelib/selector.py
parent78ca2bc9721cd3a3a0404e7e915ed6a3b5bc1bf6 (diff)
downloadmongo-a444720202d97795b71cf2daaaa2bea94b430ef9.tar.gz
SERVER-36076 Create new resmoke.py test suite for running mongoebench on a desktop
Diffstat (limited to 'buildscripts/resmokelib/selector.py')
-rw-r--r--buildscripts/resmokelib/selector.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/resmokelib/selector.py b/buildscripts/resmokelib/selector.py
index 07653a38624..dd3649b74fc 100644
--- a/buildscripts/resmokelib/selector.py
+++ b/buildscripts/resmokelib/selector.py
@@ -676,6 +676,7 @@ _SELECTOR_REGISTRY = {
"cpp_integration_test": (_CppTestSelectorConfig, _CppTestSelector),
"cpp_unit_test": (_CppTestSelectorConfig, _CppTestSelector),
"benchmark_test": (_CppTestSelectorConfig, _CppTestSelector),
+ "benchrun_embedded_test": (_JsonTestSelectorConfig, _Selector),
"db_test": (_DbTestSelectorConfig, _DbTestSelector),
"fsm_workload_test": (_JSTestSelectorConfig, _JSTestSelector),
"parallel_fsm_workload_test": (_MultiJSTestSelectorConfig, _MultiJSTestSelector),
@@ -693,8 +694,7 @@ def filter_tests(test_kind, selector_config, test_file_explorer=_DEFAULT_TEST_FI
"""Filter the tests according to a specified configuration.
Args:
- test_kind: the test kind, one of 'cpp_integration_test', 'cpp_unit_test', 'db_test',
- 'json_schema_test', 'js_test'.
+ test_kind: the test kind, from _SELECTOR_REGISTRY.
selector_config: a dict containing the selector configuration.
test_file_explorer: the TestFileExplorer to use. Using a TestFileExplorer other than
the default one should not be needed except for mocking purposes.