Lines Matching +full:- +full:testplan

4 # SPDX-License-Identifier: Apache-2.0
17 # pylint: disable=no-name-in-module
19 from twisterlib.testplan import TestPlan
22 @mock.patch.object(TestPlan, 'TESTSUITE_FILENAME', testsuite_filename_mock)
110 args = ['-i', '--outdir', out_path, '-T', path, '-y'] + \
111 (['--board-root', board_root_path] if board_root else []) + \
113 ['-p'] * len(test_platforms), test_platforms
124 … error_regex = r'ERROR.*platform_filter\s+-\s+unrecognized\s+platform\s+-\s+dummy/unit_testing$'
133 args = ['-i', '--outdir', out_path, '-T', path, '-y'] + \
134 ['--force-platform'] + \
136 ['-p'] * len(test_platforms), test_platforms
143 with open(os.path.join(out_path, 'testplan.json')) as f:
157 args = ['-i', '--outdir', out_path, '-T', path, '-y'] + \
158 ['--platform', 'qemu_x86']
164 with open(os.path.join(out_path, 'testplan.json')) as f:
190 ['-l', '--all']
193 args = ['--outdir', out_path, '-T', test_path, '-y'] + \
196 ['-p'] * len(test_platforms), test_platforms
229 args = ['--outdir', out_path, '-T', test_path] + \
230 ['--exclude-platform', "qemu_x86"] + \
232 ['-p'] * len(test_platforms), test_platforms
243 pass_regex = r'^INFO - (?P<passed_configurations>[0-9]+) of' \
244 r' (?P<test_instances>[0-9]+) executed test configurations passed'
246 built_regex = r'^INFO - (?P<executed_on_platform>[0-9]+)' \
247 r' test configurations executed on platforms, (?P<only_built>[0-9]+)' \
278 args = ['-i', '--outdir', out_path, '-T', test_path] + \
279 ['--emulation-only'] + \
281 ['-p'] * len(test_platforms), test_platforms
288 select_regex = r'^INFO - (?P<test_scenarios>[0-9]+) test scenarios' \
289 r' \((?P<test_instances>[0-9]+) configurations\) selected,' \
290 r' (?P<skipped_configurations>[0-9]+) configurations filtered' \
291 r' \((?P<skipped_by_static_filter>[0-9]+) by static filter,' \
292 r' (?P<skipped_at_runtime>[0-9]+) at runtime\)\.$'
294 pass_regex = r'^INFO - (?P<passed_configurations>[0-9]+) of' \
295 r' (?P<executed_test_instances>[0-9]+) executed test configurations passed' \
296 r' \([0-9]+\.[0-9]+%\), (?P<built_configurations>[0-9]+) built \(not run\),' \
297 r' (?P<failed_configurations>[0-9]+) failed,' \
298 r' (?P<errored_configurations>[0-9]+) errored,' \
299 r' with (?:[0-9]+|no) warnings in [0-9]+\.[0-9]+ seconds.$'
301 case_regex = r'^INFO - (?P<passed_cases>[0-9]+) of' \
302 r' (?P<executed_test_cases>[0-9]+) executed test cases passed' \
303 r' \([0-9]+\.[0-9]+%\)' \
304 r'(?:, (?P<blocked_cases>[0-9]+) blocked)?' \
305 r'(?:, (?P<failed_cases>[0-9]+) failed)?' \
306 r'(?:, (?P<errored_cases>[0-9]+) errored)?' \
307 r'(?:, (?P<none_cases>[0-9]+) without a status)?' \
308 r' on (?P<platform_count>[0-9]+) out of total' \
309 r' (?P<total_platform_count>[0-9]+) platforms \([0-9]+\.[0-9]+%\)'
311 skip_regex = r'(?P<skipped_test_cases>[0-9]+) selected test cases not executed:' \
312 r'(?: (?P<skipped_cases>[0-9]+) skipped)?' \
313 r'(?:, (?P<filtered_cases>[0-9]+) filtered)?' \
316 built_regex = r'^INFO - (?P<executed_on_platform>[0-9]+)' \
317 r' test configurations executed on platforms, (?P<only_built>[0-9]+)' \