From 6652482fc54af89077e2afa4836d131999a52d4a Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 2 Oct 2024 19:02:33 +0200 Subject: [PATCH] cliparser: allow to specify list of test cases separated with ',' --- cliparser.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cliparser.py b/cliparser.py index 3174f90844..545c01a43c 100644 --- a/cliparser.py +++ b/cliparser.py @@ -48,8 +48,10 @@ def __init__(self, cli_support=None, board_names=None, add_help=True): "'Run (Debug Logs)'") self.add_argument("-c", "--test-cases", nargs='+', default=[], + action="extend", help="Names of test cases to run. Groups of " - "test cases can be specified by profile names") + "test cases can be specified by profile names." + "Option can be used multiple times.") self.add_argument("-e", "--excluded", nargs='+', default=[], help="Names of test cases to exclude. Groups of "