Skip to content

tools: allow test.py to use full paths of tests

Rodrigo Muino Tomonari requested to merge github/fork/reconbot/testpy-paths into master
Checklist
  • commit message follows commit guidelines
  • ran test suite, no new tests
Affected core subsystem(s)

Fixes: https://github.com/nodejs/node/issues/9684 tools/test.py can now take paths like

$ python tools/test.py test/parallel/test-cluster-worker-init.js
$ python tools/test.py test/parallel/test-cluster-worker-init
$ python tools/test.py parallel/test-cluster-worker-init.js
Description of change

Slices off the test/ and the .js on input files. Wildcards like parallel/test-cluster-* will still work as will defaults.

Merge request reports

Loading