/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | testinstance.py | 36 from twisterlib.testsuite import TestCase, TestSuite 52 def __init__(self, testsuite, platform, outdir): argument 54 self.testsuite: TestSuite = testsuite 67 self.name = os.path.join(platform.name, testsuite.name) 70 if testsuite.detailed_test_id: 71 self.build_dir = os.path.join(outdir, platform.normalized_name, testsuite.name) 75 source_dir_rel = testsuite.source_dir_rel.rsplit(os.pardir+os.path.sep, 1)[-1] 80 testsuite.name 85 self.sysbuild = testsuite.sysbuild or platform.sysbuild 133 for c in self.testsuite.testcases: [all …]
|
D | runner.py | 51 from twisterlib.testsuite import TestSuite 510 def __init__(self, testsuite: TestSuite, platform: Platform, source_dir, build_dir, jobserver): 519 self.testsuite = testsuite 654 if self.instance.testsuite.harness == 'bsim': 688 if self.instance.testsuite.required_snippets: 690 '-DSNIPPET={}'.format(';'.join(self.instance.testsuite.required_snippets)) 758 def __init__(self, testsuite: TestSuite, platform: Platform, source_dir, build_dir, jobserver): 759 super().__init__(testsuite, platform, source_dir, build_dir, jobserver) 833 return {os.path.join(self.platform.name, self.testsuite.name): True} 835 if self.testsuite and self.testsuite.filter: [all …]
|
D | testsuite.py | 380 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)
|
D | harness.py | 89 config = instance.testsuite.harness_config 90 self.id = instance.testsuite.id 92 if instance.testsuite.ignore_faults: 177 config = instance.testsuite.harness_config 359 self.source_dir = instance.testsuite.source_dir 380 config = self.instance.testsuite.harness_config 760 if ts_name not in self.instance.testsuite.ztest_suite_names: 788 if suite_name not in self.instance.testsuite.ztest_suite_names: 937 new_exe_name: str = self.instance.testsuite.harness_config.get('bsim_exe_name', '')
|
/Zephyr-latest/subsys/testsuite/ztest/ |
D | CMakeLists.txt | 4 ${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/ |
D | test_testinstance.py | 59 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, class_testplan.env.outdir) 209 testsuite = class_testplan.testsuites.get(testsuite_path) 213 testinstance = TestInstance(testsuite, platform, class_testplan.env.outdir) 226 testsuite = class_testplan.testsuites.get(testsuite_path) 227 testsuite.detailed_test_id = detailed_test_id [all …]
|
D | test_harness.py | 33 from twisterlib.testsuite import TestSuite 210 testsuite=mock_testsuite, platform=mock_platform, outdir=outdir 212 instance.testsuite.harness_config = { 241 testsuite=mock_testsuite, platform=mock_platform, outdir=outdir 291 testsuite=mock_testsuite, platform=mock_platform, outdir=outdir 345 testsuite=mock_testsuite, platform=mock_platform, outdir=outdir 347 instance.testsuite.harness_config = { 406 testsuite=mock_testsuite, platform=mock_platform, outdir=outdir 427 instance.testsuite.id = "test_suite_1" 468 testsuite=mock_testsuite, platform=mock_platform, outdir=outdir [all …]
|
D | test_runner.py | 42 testsuite = mock.Mock() 43 testsuite.source_dir: str = '' 44 instance.testsuite = testsuite 454 instance_mock.testsuite = mock.Mock() 455 instance_mock.testsuite.name = 'testcase' 456 instance_mock.testsuite.required_snippets = ['dummy snippet 1', 'ds2'] 1519 instance_mock.testsuite.harness = 'test' 1659 instance_mock.testsuite.id = 'dummy.test_id' 1660 instance_mock.testsuite.ztest_suite_names = [] 1661 instance_mock.testsuite.detailed_test_id = detailed_id [all …]
|
/Zephyr-latest/scripts/west_commands/runners/ |
D | renode-robot.py | 17 self.testsuite = args.testsuite 59 if self.testsuite is not None: 60 for suite in self.testsuite:
|
/Zephyr-latest/scripts/tests/twister/pytest_integration/ |
D | test_harness_pytest.py | 12 from twisterlib.testsuite import TestSuite 19 testsuite = TestSuite('.', 'samples/hello', 'unit.test') 20 testsuite.harness_config = {} 21 testsuite.ignore_faults = False 22 testsuite.sysbuild = False 25 testinstance = TestInstance(testsuite, platform, 'outdir') 60 testinstance.testsuite.harness_config['pytest_dut_scope'] = dut_scope 69 testinstance.testsuite.harness_config['pytest_args'] = pytest_args 89 testinstance.testsuite.harness_config['pytest_args'] = [pytest_args_from_yaml] 152 testinstance.testsuite.harness_config['pytest_root'] = pytest_root
|
/Zephyr-latest/cmake/modules/ |
D | unittest.cmake | 84 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
|
D | root.cmake | 43 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/ |
D | coverage_analysis.py | 53 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/ |
D | CMakeLists.txt | 6 zephyr_include_directories(${ZEPHYR_BASE}/subsys/testsuite/include) 9 zephyr_include_directories_ifdef(CONFIG_COVERAGE_GCOV ${ZEPHYR_BASE}/subsys/testsuite/coverage)
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/ |
D | README.rst | 24 ./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/ |
D | testsuite.rst | 1 .. zephyr:code-sample-category:: testsuite
|
/Zephyr-latest/tests/net/lib/wifi_credentials/ |
D | CMakeLists.txt | 20 zephyr_include_directories(${ZEPHYR_BASE}/subsys/testsuite/include)
|
/Zephyr-latest/tests/net/lib/wifi_credentials_backend_settings/ |
D | CMakeLists.txt | 20 zephyr_include_directories(${ZEPHYR_BASE}/subsys/testsuite/include)
|
/Zephyr-latest/samples/subsys/testsuite/pytest/shell/ |
D | README.rst | 32 $ ./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/ |
D | Kconfig | 5 # Current the use of X86 is for consistency with old testsuite/ztest which
|
/Zephyr-latest/scripts/ci/es_upload/ |
D | README.md | 49 * `--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/ |
D | CMakeLists.txt | 20 zephyr_include_directories(${ZEPHYR_BASE}/subsys/testsuite/include)
|
/Zephyr-latest/boards/common/ |
D | renode_robot.board.cmake | 10 # RESULTS_DIR: directory in which Robot artifacts will be generated after running a testsuite
|
/Zephyr-latest/scripts/tests/twister_blackbox/ |
D | test_output.py | 78 assert all([testsuite.startswith(expected_start) for _, testsuite, _ in filtered_j])
|
/Zephyr-latest/subsys/ |
D | CMakeLists.txt | 32 add_subdirectory(testsuite)
|