-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
-
Fully Compatible
-
ALL
-
TIG 2017-05-08, TIG 2017-05-29, TIG 2017-06-19
-
0
The resmoke.py parser only accepts files that end with ".js". This restriction is too strict, and it means that you can't use the --findSuites tool for unit tests and integration tests.
Ideally, I'd like to be able to do one of the following:
$ resmoke -f src/mongo/db/nesting_depth_test.cpp $ resmoke -f build/integration_tests/nesting_depth_test
Unfortunately, both trigger an exception:
Traceback (most recent call last): File "/home/ksuarz/code/mongo/buildscripts/resmoke.py", line 194, in <module> main() File "/home/ksuarz/code/mongo/buildscripts/resmoke.py", line 150, in main suites = resmokelib.parser.get_suites(values, args) File "/home/ksuarz/code/mongo/buildscripts/resmokelib/parser.py", line 324, in get_suites suite_config = _make_jstests_config(args) File "/home/ksuarz/code/mongo/buildscripts/resmokelib/parser.py", line 404, in _make_jstests_config % (pathname)) optparse.OptionValueError: Expected a list of JS files, but got 'src/mongo/db/nesting_depth_test.cpp'
- is depended on by
-
SERVER-25293 output of hooks in hook.py should go into the test log instead of the main task log
- Closed
- related to
-
SERVER-30922 resmoke should error if you give it a nonexistent jstest on the command line
- Closed