1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09:00

Meta: Make the ladybird.py test pattern argument positional

Restores API compatibility with the old ladybird.sh.
This commit is contained in:
Timothy Flynn 2025-05-29 18:20:43 -04:00 committed by Tim Flynn
parent 6345ebb78c
commit 877687d1f6
Notes: github-actions[bot] 2025-05-30 10:41:53 +00:00

View file

@ -60,7 +60,7 @@ def main():
"test", help="Runs the unit tests on the build host", parents=[preset_parser, compiler_parser]
)
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(