diff --git a/src/controller/python/test/test_scripts/mobile-device-test.py b/src/controller/python/test/test_scripts/mobile-device-test.py index cb032bc3ac744a..794a54a61719fe 100755 --- a/src/controller/python/test/test_scripts/mobile-device-test.py +++ b/src/controller/python/test/test_scripts/mobile-device-test.py @@ -266,8 +266,11 @@ def do_tests(controller_nodeid, device_nodeid, address, timeout, discriminator, type=int, default=0, help="The PID of the app against which the test is going to run") +@click.option('--fail-on-skipped', + is_flag=True, + help="Fail the test if any test cases are skipped") def run(controller_nodeid, device_nodeid, address, timeout, discriminator, setup_pin, enable_test, disable_test, log_level, - log_format, print_test_list, paa_trust_store_path, trace_to, app_pid): + log_format, print_test_list, paa_trust_store_path, trace_to, app_pid, fail_on_skipped): coloredlogs.install(level=log_level, fmt=log_format, logger=logger) if print_test_list: