Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
tools: allow test.py to use full paths of tests#9694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Conversation
reconbot commented Nov 19, 2016 • edited by MylesBorins
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by MylesBorins
Uh oh!
There was an error while loading. Please reload this page.
Fishrock123 commented Nov 19, 2016
MylesBorins left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if CI is green
gibfahn left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking forward to no more No tests to run because you copied the .js as well. Also tab-complete for tests is great.
reconbot commented Nov 19, 2016
@thealphanerd freebsd failed but I can't figure out what failed, I see "no failures" |
MylesBorins commented Nov 19, 2016 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
failure looks infra related /cc @nodejs/build fixes #9684 |
addaleax left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
jbergstroem commented Nov 19, 2016
@thealphanerd what you meant to say was "the failure looks @jbergstroem-related". Should be fixed now. |
MylesBorins commented Nov 19, 2016
@jbergstroem you are a hero! Thank you for all the hard infra work you do. |
jbergstroem commented Nov 19, 2016
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use startswith and endswith.
Allow test.py to run tests with a 'tests/' prefix or a '.js' postfix Fixes: nodejs#9684
reconbot commented Nov 20, 2016
@thefourtheye updated to use |
thefourtheye left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. LGTM. Thanks :)
MylesBorins commented Nov 26, 2016
landed in 951ba0d |
Allow test.py to run tests with a 'tests/' prefix or a '.js' postfix PR-URL: #9694Fixes: #9684 Reviewed-By: Prince John Wesley <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]>
Allow test.py to run tests with a 'tests/' prefix or a '.js' postfix PR-URL: #9694Fixes: #9684 Reviewed-By: Prince John Wesley <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]>
Allow test.py to run tests with a 'tests/' prefix or a '.js' postfix PR-URL: #9694Fixes: #9684 Reviewed-By: Prince John Wesley <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]>
Allow test.py to run tests with a 'tests/' prefix or a '.js' postfix PR-URL: #9694Fixes: #9684 Reviewed-By: Prince John Wesley <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]>

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.