-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
doc: document wildcard supported by tools/test.py #60265
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
base: main
Are you sure you want to change the base?
Conversation
This seems to be a underdocumented but useful trick that only very few people know about. Also add a pointer to the test running guide in the test writing guide.
Review requested:
|
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.
FWIW the test/
prefix is optional and can be omitted, e.g.
tools/test.py parallel/test-stream-*
works.
(IIRC originally the prefix-less (no test/
) syntax was the originally supported syntax, and the ability to include the test/
prefix was added later.)
In certain shells, the wildcard should be quoted:
I use this pattern a lot, without |
Yes, that's mentioned in the examples |
Added a few more examples without the prefix (I used the one with the prefix a bit more often because I tend to copy the relative path from vscode) |
This seems to be a underdocumented but useful trick that only very few people know about. Also add a pointer to the test running guide in the test writing guide.