commit d43ec1b014c4b37bc3ecbff0b2f0cea56638489c
parent 8f425076415a73bd03683e0b0ad0a95801f71634
Author: James Prestwood <prestwoj@gmail.com>
Date: Wed, 22 Jun 2022 16:51:16 -0700
test-runner: fix result/monitor options
An earlier commit fixed several options but ended up breaking others. The
result_parent/monitor_parent options are hidden from the user and only meant
to be passed to the kernel but they relied on the fact that the underscore
was present, not a dash. This updates the argument to use a dash:
--result-parent
--monitor-parent
Fixes: 00e41eb0ff ("test-runner: Fix parsing for some arguments")
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/runner.py b/tools/runner.py
@@ -117,8 +117,8 @@ class RunnerCoreArgParse(ArgumentParser):
type=str,
help='Use physical adapters for tests (passthrough)')
self.add_argument('--testhome', help=SUPPRESS)
- self.add_argument('--monitor_parent', help=SUPPRESS)
- self.add_argument('--result_parent', help=SUPPRESS)
+ self.add_argument('--monitor-parent', help=SUPPRESS)
+ self.add_argument('--result-parent', help=SUPPRESS)
# Prevent --autotest/--unittest from being used together
auto_unit_group = self.add_mutually_exclusive_group()