mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
Meta: Make the ladybird.py test
pattern argument positional
Restores API compatibility with the old ladybird.sh.
This commit is contained in:
parent
6345ebb78c
commit
877687d1f6
Notes:
github-actions[bot]
2025-05-30 10:41:53 +00:00
Author: https://github.com/trflynn89
Commit: 877687d1f6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4917
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ def main():
|
||||||
"test", help="Runs the unit tests on the build host", parents=[preset_parser, compiler_parser]
|
"test", help="Runs the unit tests on the build host", parents=[preset_parser, compiler_parser]
|
||||||
)
|
)
|
||||||
test_parser.add_argument(
|
test_parser.add_argument(
|
||||||
"--pattern", required=False, help="Limits the tests that are ran to those that match the regex pattern"
|
"pattern", nargs=argparse.OPTIONAL, help="Limits the tests that are run to those that match the regex pattern"
|
||||||
)
|
)
|
||||||
|
|
||||||
run_parser = subparsers.add_parser(
|
run_parser = subparsers.add_parser(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue