Home
last modified time | relevance | path

Searched refs:testsuite (Results 1 – 25 of 60) sorted by relevance

123

/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dtestinstance.py36 from twisterlib.testsuite import TestCase, TestSuite
52 def __init__(self, testsuite, platform, toolchain, outdir): argument
54 self.testsuite: TestSuite = testsuite
70 self.name = os.path.join(platform.name, toolchain, testsuite.name)
73 if testsuite.detailed_test_id:
75 outdir, platform.normalized_name, self.toolchain, testsuite.name
80 source_dir_rel = testsuite.source_dir_rel.rsplit(os.pardir+os.path.sep, 1)[-1]
86 testsuite.name
91 self.sysbuild = testsuite.sysbuild or platform.sysbuild
142 for c in self.testsuite.testcases:
[all …]
Drunner.py53 from twisterlib.testsuite import TestSuite
512 def __init__(self, testsuite: TestSuite, platform: Platform, source_dir, build_dir, jobserver):
521 self.testsuite = testsuite
659 if self.instance.testsuite.harness == 'bsim':
696 if self.instance.testsuite.required_snippets:
698 '-DSNIPPET={}'.format(';'.join(self.instance.testsuite.required_snippets))
766 def __init__(self, testsuite: TestSuite, platform: Platform, source_dir, build_dir, jobserver):
767 super().__init__(testsuite, platform, source_dir, build_dir, jobserver)
845 self.testsuite.name
849 if self.testsuite and self.testsuite.filter:
[all …]
Dtestsuite.py380 def __init__(self, name=None, testsuite=None): argument
385 self.testsuite = testsuite
391 return TestSuite.get_case_name_(self.testsuite, self.name, detailed=True)
513 tc = TestCase(name=name, testsuite=self)
Dharness.py92 config = instance.testsuite.harness_config
93 self.id = instance.testsuite.id
95 if instance.testsuite.ignore_faults:
191 config = instance.testsuite.harness_config
373 self.source_dir = instance.testsuite.source_dir
394 config = self.instance.testsuite.harness_config
635 config = self.instance.testsuite.harness_config
801 if self.trace and ts_name not in self.instance.testsuite.ztest_suite_names:
831 if self.trace and suite_name not in self.instance.testsuite.ztest_suite_names:
986 new_exe_name: str = self.instance.testsuite.harness_config.get('bsim_exe_name', '')
[all …]
/Zephyr-latest/subsys/testsuite/ztest/
DCMakeLists.txt4 ${ZEPHYR_BASE}/subsys/testsuite/ztest/include/zephyr/ztest_error_hook.h
5 ${ZEPHYR_BASE}/subsys/testsuite/ztest/include/zephyr/ztest_test.h
9 ${ZEPHYR_BASE}/subsys/testsuite/include
10 ${ZEPHYR_BASE}/subsys/testsuite/coverage
11 ${ZEPHYR_BASE}/subsys/testsuite/ztest/include
/Zephyr-latest/scripts/tests/twister/
Dtest_testinstance.py59 testsuite = class_testplan.testsuites.get('scripts/tests/twister/test_data/testsuites/tests/'
61 print(testsuite)
67 testsuite.harness = harness
68 testsuite.build_only = build_only
69 testsuite.slow = slow
71 testinstance = TestInstance(testsuite, platform, 'zephyr', class_testplan.env.outdir)
209 testsuite = class_testplan.testsuites.get(testsuite_path)
213 testinstance = TestInstance(testsuite, platform, 'zephyr', class_testplan.env.outdir)
226 testsuite = class_testplan.testsuites.get(testsuite_path)
227 testsuite.detailed_test_id = detailed_test_id
[all …]
Dtest_harness.py33 from twisterlib.testsuite import TestSuite
293 testsuite=mock_testsuite, platform=mock_platform, toolchain='zephyr', outdir=outdir
295 instance.testsuite.harness_config = {
324 testsuite=mock_testsuite, platform=mock_platform, toolchain='zephyr', outdir=outdir
374 testsuite=mock_testsuite, platform=mock_platform, toolchain='zephyr', outdir=outdir
428 testsuite=mock_testsuite, platform=mock_platform, toolchain='zephyr', outdir=outdir
430 instance.testsuite.harness_config = {
489 testsuite=mock_testsuite, platform=mock_platform, toolchain='zephyr', outdir=outdir
510 instance.testsuite.id = "test_suite_1"
551 testsuite=mock_testsuite, platform=mock_platform, toolchain='zephyr', outdir=outdir
[all …]
Dtest_runner.py42 testsuite = mock.Mock()
43 testsuite.source_dir: str = ''
44 instance.testsuite = testsuite
457 instance_mock.testsuite = mock.Mock()
458 instance_mock.testsuite.name = 'testcase'
459 instance_mock.testsuite.required_snippets = ['dummy snippet 1', 'ds2']
1524 instance_mock.testsuite.harness = 'test'
1667 instance_mock.testsuite.id = 'dummy.test_id'
1668 instance_mock.testsuite.ztest_suite_names = []
1669 instance_mock.testsuite.detailed_test_id = detailed_id
[all …]
/Zephyr-latest/scripts/west_commands/runners/
Drenode-robot.py17 self.testsuite = args.testsuite
59 if self.testsuite is not None:
60 for suite in self.testsuite:
/Zephyr-latest/scripts/tests/twister/pytest_integration/
Dtest_harness_pytest.py12 from twisterlib.testsuite import TestSuite
19 testsuite = TestSuite('.', 'samples/hello', 'unit.test')
20 testsuite.harness_config = {}
21 testsuite.harness = 'pytest'
22 testsuite.ignore_faults = False
23 testsuite.sysbuild = False
26 testinstance = TestInstance(testsuite, platform, 'zephyr', 'outdir')
61 testinstance.testsuite.harness_config['pytest_dut_scope'] = dut_scope
70 testinstance.testsuite.harness_config['pytest_args'] = pytest_args
90 testinstance.testsuite.harness_config['pytest_args'] = [pytest_args_from_yaml]
[all …]
/Zephyr-latest/cmake/modules/
Dunittest.cmake84 subsys/testsuite/ztest/include/zephyr
85 subsys/testsuite/ztest/unittest/include
86 subsys/testsuite/include/zephyr
87 subsys/testsuite/ztest/include
88 subsys/testsuite/include
119 -T "${ZEPHYR_BASE}/subsys/testsuite/include/zephyr/ztest_unittest.ld"
143 ${ZEPHYR_BASE}/subsys/testsuite/ztest/src/ztest.c
144 ${ZEPHYR_BASE}/subsys/testsuite/ztest/src/ztest_mock.c
145 ${ZEPHYR_BASE}/subsys/testsuite/ztest/src/ztest_rules.c
146 ${ZEPHYR_BASE}/subsys/testsuite/ztest/src/ztest_defaults.c
Droot.cmake43 set(BOARD_ROOT ${ZEPHYR_BASE}/subsys/testsuite)
44 set(ARCH_ROOT ${ZEPHYR_BASE}/subsys/testsuite)
45 set(SOC_ROOT ${ZEPHYR_BASE}/subsys/testsuite)
/Zephyr-latest/scripts/ci/coverage/
Dcoverage_analysis.py53 for testsuite in element:
54 for testcase in testsuite['testcases']:
81 "name":testsuite['name'],
82 "path":testsuite['path'],
84 "runnable": testsuite['runnable'],
91 … if any(platform in testsuite['platform'] for platform in self.simulators):
104 test_suite['platforms'].append(testsuite['platform'])
123 "name":testsuite['name'],
124 "path":testsuite['path'],
126 "runnable": testsuite['runnable'],
[all …]
/Zephyr-latest/subsys/testsuite/
DCMakeLists.txt6 zephyr_include_directories(${ZEPHYR_BASE}/subsys/testsuite/include)
9 zephyr_include_directories_ifdef(CONFIG_COVERAGE_GCOV ${ZEPHYR_BASE}/subsys/testsuite/coverage)
/Zephyr-latest/scripts/ci/
Dtwister_report_analyzer.py154 def parse_statuses(self, testsuite): argument
155 ts_status = testsuite.get('status', 'no status in testsuite')
158 for tc in testsuite.get('testcases', []):
162 def parse_testsuite(self, testsuite): argument
163 ts_status = testsuite.get('status') or 'no status in testsuite'
167 ts_platform = testsuite.get('platform') or 'Unknown platform'
169 ts_reason = testsuite.get('reason') or 'Unknown reason'
170 ts_log = testsuite.get('log')
196 for tc in testsuite.get('testcases', []):
267 def parse_testsuite(self, testsuite): argument
[all …]
/Zephyr-latest/scripts/pylib/pytest-twister-harness/
DREADME.rst24 ./scripts/twister -p native_sim -p qemu_x86 -T samples/subsys/testsuite/pytest/shell
27 …0dk/nrf52840 --device-testing --device-serial /dev/ttyACM0 -T samples/subsys/testsuite/pytest/shell
35 cd ${ZEPHYR_BASE}/samples/subsys/testsuite/pytest/shell
/Zephyr-latest/samples/subsys/testsuite/
Dtestsuite.rst1 .. zephyr:code-sample-category:: testsuite
/Zephyr-latest/tests/net/lib/wifi_credentials/
DCMakeLists.txt20 zephyr_include_directories(${ZEPHYR_BASE}/subsys/testsuite/include)
/Zephyr-latest/tests/net/lib/wifi_credentials_backend_settings/
DCMakeLists.txt20 zephyr_include_directories(${ZEPHYR_BASE}/subsys/testsuite/include)
/Zephyr-latest/samples/subsys/testsuite/pytest/shell/
DREADME.rst32 $ ./scripts/twister -vv --platform native_sim -T samples/subsys/testsuite/pytest/shell
41 samples/subsys/testsuite/pytest/shell/pytest/test_shell.py::test_shell_print_help
72 samples/subsys/testsuite/pytest/shell/pytest/test_shell.py::test_shell_print_version
/Zephyr-latest/subsys/testsuite/arch/unit_testing/
DKconfig5 # Current the use of X86 is for consistency with old testsuite/ztest which
/Zephyr-latest/scripts/ci/es_upload/
DREADME.md49 * `--exclude` removes excess testsuite properties not needed to store them
55 * `--flatten` changes testsuite data structure in regard of one of its list components:
57 inheriting all other testsuite properties, whereas the children object's properties
60 Only one testsuite property object can be flattened this way per index upload.
61 All other testsuite objects will be treated according to the index structure.
/Zephyr-latest/tests/net/lib/wifi_credentials_backend_psa/
DCMakeLists.txt20 zephyr_include_directories(${ZEPHYR_BASE}/subsys/testsuite/include)
/Zephyr-latest/boards/common/
Drenode_robot.board.cmake10 # RESULTS_DIR: directory in which Robot artifacts will be generated after running a testsuite
/Zephyr-latest/scripts/tests/twister_blackbox/
Dtest_output.py78 assert all([testsuite.startswith(expected_start) for _, testsuite, _ in filtered_j])

123