Lines Matching +full:twister +full:- +full:build
3 # SPDX-License-Identifier: Apache-2.0
22 twister_harness_group = parser.getgroup('Twister harness')
24 '--twister-harness',
27 help='Activate Twister harness plugin.'
31 'Activate Twister harness plugin',
35 '--base-timeout',
42 '--flash-timeout',
48 '--build-dir',
53 '--device-type',
58 '--platform',
62 '--device-serial',
66 '--device-serial-baud',
72 '--runner',
76 '--runner-params',
81 '--device-id',
85 '--device-product',
89 '--device-serial-pty',
93 '--flash-before',
97 'and serial console, or use soft-USB, where flash must come first.'
100 '--west-flash-extra-args',
102 'E.g. --west-flash-extra-args="--board-id=foobar,--erase" '
103 'will translate to "west flash -- --board-id=foobar --erase".'
106 '--pre-script',
111 '--post-flash-script',
116 '--post-script',
121 '--dut-scope',
126 '--twister-fixture', action='append', dest='fixtures', metavar='FIXTURE', default=[],
127 help='Twister fixture supported by this platform. May be given multiple times.'
130 '--extra-test-args',
148 def _validate_options(config: pytest.Config) -> None:
150 raise Exception('--build-dir has to be provided')
152 raise Exception(f'Provided --build-dir does not exist: {config.option.build_dir}')
154 raise Exception('--device-type has to be provided')
157 def _normalize_paths(config: pytest.Config) -> None:
165 def _normalize_path(path: str | None) -> str: