Lines Matching +full:twister +full:- +full:out

2 # Copyright (c) 2023-2024 Intel Corporation
4 # SPDX-License-Identifier: Apache-2.0
6 Blackbox tests for twister's command line functions
20 # pylint: disable=no-name-in-module
34 'testplan.json', 'twister.json',
35 'twister.log', 'twister_report.xml',
36 'twister_suite_report.xml', 'twister.xml'
55 ['--report-name', 'abcd'],
64 ['--report-name', '1234', '--platform-reports'],
74 ['--report-name', 'Final', '--platform-reports', '--report-suffix=Test'],
87 'twister.json', 'twister_report.xml',
88 'twister_suite_report.xml', 'twister.xml'
98 'testplan.json', 'twister.log',
99 'twister.json', 'twister_report.xml',
100 'twister_suite_report.xml', 'twister.xml'
124 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister')
141 args = ['-i', '--outdir', out_path, '-T', test_path, '--platform-reports'] + \
143 ['-p'] * len(test_platforms), test_platforms
150 out, err = capfd.readouterr()
151 sys.stdout.write(out)
165 xml_text = etree.tostring(tree, encoding="utf-8").decode("utf-8")
190 …args = ['-i', '--outdir', out_path, '-T', test_path, '--platform-reports', '--report-suffix=TEST']…
192 ['-p'] * len(test_platforms), test_platforms
199 out, err = capfd.readouterr()
200 sys.stdout.write(out)
215 'report-name + platform-reports + report-suffix'
219 args = ['-i', '--outdir', out_path, '-T', test_path] + \
221 ['-p'] * len(test_platforms), test_platforms
231 out, err = capfd.readouterr()
232 sys.stdout.write(out)
249 args = ['-i', '--outdir', out_path, '-T', test_path, "--report-dir", dir_name] + \
251 ['-p'] * len(test_platforms), test_platforms
263 out, err = capfd.readouterr()
264 sys.stdout.write(out)
286 args = ['-i', '-T', test_path, "--outdir", dir_name] + \
288 ['-p'] * len(test_platforms), test_platforms
299 out, err = capfd.readouterr()
300 sys.stdout.write(out)
326 args = ['-i','--outdir', out_path, '-T', test_path, "--log-file", file_name] + \
328 ['-p'] * len(test_platforms), test_platforms
339 out, err = capfd.readouterr()
340 sys.stdout.write(out)
352 ['--detailed-skipped-report'],
357 ['--detailed-skipped-report', '--report-filtered'],
365 args = ['-i', '--outdir', out_path, '-T', test_path] + \
368 ['-p'] * len(test_platforms), test_platforms
401 args = ['-i', '--outdir', out_path, '-T', test_path] + \
402 (['--report-filtered'] if report_filtered else []) + \
404 ['-p'] * len(test_platforms), test_platforms
413 with open(os.path.join(out_path, 'twister.json')) as f:
426 args = ['-i', '--outdir', out_path, '-T', path] + \
427 ['--enable-size-report'] + \
429 ['-p'] * len(test_platforms), test_platforms
438 with open(os.path.join(out_path, 'twister.json')) as f:
443 # twister.json will contain [used/available]_[ram/rom] keys if the flag works
468 args = ['-i', '--outdir', out_path, '-T', test_path] + \
470 ['-p'] * len(test_platforms), test_platforms
483 args += ['--report-summary']
489 out, err = capfd.readouterr()
490 sys.stdout.write(out)
501 args = ['-i', '--outdir', out_path, '-T', test_path] + \
502 ['--report-summary', '2'] + \
504 ['-p'] * len(test_platforms), test_platforms
511 out, err = capfd.readouterr()
512 sys.stdout.write(out)