tools: allow test.py to use full paths of tests#9694
tools: allow test.py to use full paths of tests#9694reconbot wants to merge 1 commit intonodejs:masterfrom
Conversation
gibfahn
left a comment
There was a problem hiding this comment.
Looking forward to no more No tests to run because you copied the .js as well. Also tab-complete for tests is great.
|
@thealphanerd freebsd failed but I can't figure out what failed, I see "no failures" |
|
failure looks infra related /cc @nodejs/build fixes #9684 |
|
@thealphanerd what you meant to say was "the failure looks @jbergstroem-related". Should be fixed now. |
|
@jbergstroem you are a hero! Thank you for all the hard infra work you do. |
|
@thealphanerd thanks! if only the work wasn't so tied to fixing my other work :) |
tools/test.py
Outdated
There was a problem hiding this comment.
Use startswith and endswith.
Allow test.py to run tests with a 'tests/' prefix or a '.js' postfix Fixes: nodejs#9684
b5cd231 to
ddcbcf1
Compare
|
@thefourtheye updated to use |
thefourtheye
left a comment
There was a problem hiding this comment.
Nice. LGTM. Thanks :)
|
landed in 951ba0d |
Allow test.py to run tests with a 'tests/' prefix or a '.js' postfix PR-URL: #9694 Fixes: #9684 Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Allow test.py to run tests with a 'tests/' prefix or a '.js' postfix PR-URL: #9694 Fixes: #9684 Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Allow test.py to run tests with a 'tests/' prefix or a '.js' postfix PR-URL: #9694 Fixes: #9684 Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Allow test.py to run tests with a 'tests/' prefix or a '.js' postfix PR-URL: #9694 Fixes: #9684 Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>

Checklist
Affected core subsystem(s)
Fixes: #9684
tools/test.pycan now take paths likeDescription of change
Slices off the
test/and the.json input files. Wildcards likeparallel/test-cluster-*will still work as will defaults.