/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | testinstance.py | 36 from twisterlib.testsuite import TestCase, TestSuite 42 """Class representing the execution of a particular TestSuite on a platform 44 @param test The TestSuite object we want to build/execute 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 [all …]
|
D | testplan.py | 38 from twisterlib.testsuite import TestSuite, scan_testsuite_path 60 # filters in the testsuite yaml definition 61 TESTSUITE = 'testsuite filter' variable in Filters 91 "scripts", "schemas", "twister", "testsuite-schema.yaml")) 387 testsuite = Node("Testsuite") 388 samples = Node("Samples", parent=testsuite) 389 tests = Node("Tests", parent=testsuite) 420 for pre, _, node in RenderTree(testsuite): 578 logger.debug(f"Reading testsuite configuration files under {root}...") 588 logger.debug("Found possible testsuite in " + dirpath) [all …]
|
/Zephyr-latest/scripts/west_commands/runners/ |
D | renode-robot.py | 17 self.testsuite = args.testsuite 31 parser.add_argument('--testsuite', 59 if self.testsuite is not None: 60 for suite in self.testsuite: 63 self.logger.error("No Robot testsuite passed to renode-test! " 64 "Use the `--testsuite` argument to provide one.")
|
/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/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/tests/ztest/ztest_param/pytest/ |
D | test_parameters.py | 29 lines = shell.exec_command('ztest run-testsuite ztest_params -r 2') 32 pass_ztest_params_count = output.count("TESTSUITE ztest_params succeeded") 33 …assert pass_ztest_params_count == 2, f"Expected 2 occurrences of 'TESTSUITE ztest_params succeeded… 36 lines = shell.exec_command('ztest run-testsuite ztest_params') 39 …assert "TESTSUITE ztest_params succeeded" in output, f"Expected 'TESTSUITE ztest_params succeeded'…
|
/Zephyr-latest/scripts/tests/twister/ |
D | README.md | 5 Twister Testsuite are located in $ZEPHYR_BASE/scripts/tests directory with all the data files in $Z… 15 ## Executing testsuite 55 - test_testsuite_class.py : Contains testcases for Testsuite class (except reporting functionality)… 57 - test_reporting_testsuite.py : Contains testcases for reporting functionality of Testsuite class o…
|
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_twister.py | 32 [("testsuite_correct_schema.yaml", "testsuite-schema.yaml"), 35 """ Test to validate the testsuite schema""" 44 [("testsuite_incorrect_schema.yaml", "testsuite-schema.yaml"), 47 """ Test to validate the exception is raised for incorrect testsuite schema""" 57 schema = scl.yaml_load(Path(ZEPHYR_BASE) / "scripts/schemas/twister/testsuite-schema.yaml")
|
D | test_testplan.py | 7 This test file contains testsuites for testsuite.py module of twister 22 from twisterlib.testsuite import TestSuite 29 """ Testing add_testcase function of Testsuite class in twister """ 54 assert all(isinstance(n, TestSuite) for n in class_testplan.testsuites.values()) 103 ("toolchain_allow", ['gcc'], None, None, "Not in testsuite toolchain allow list"), 104 …("platform_allow", ['demo_board_1/unit_testing'], None, None, "Not in testsuite platform allow lis… 192 ("exclude_tag", ['test_a'], "Command line testsuite exclude filter"), 193 …scripts/tests/twister/test_data/testsuites/tests/test_a/test_a.check_1'], "TestSuite name filter"), 194 ("arch", ['arm_test'], "Command line testsuite arch filter"), 195 ("tag", ['test_d'], "Command line testsuite tag filter") [all …]
|
D | test_testsuite.py | 21 from twisterlib.testsuite import ( 29 TestSuite 201 'registered testsuite', 202 'new testsuite with registered run', 203 # 'empty testsuite' 305 unique = TestSuite(testsuite_root, workdir, name) 375 for each testsuite root and workdir 378 suite = TestSuite(testsuite_root, suite_path, name) 658 with mock.patch('twisterlib.testsuite._find_src_dir_path', mock_fsdp), \ 659 mock.patch('twisterlib.testsuite.find_c_files_in', mock_find), \ [all …]
|
/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] 125 ['$ZEPHYR_BASE/samples/subsys/testsuite/pytest/shell/pytest'], [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/tests/subsys/testsuite/fff_fake_contexts/ |
D | testcase.yaml | 5 testing.testsuite.fff_fake_contexts.unit: 8 testing.testsuite.fff_fake_contexts:
|
/Zephyr-latest/tests/arch/arm/arm_custom_interrupt/ |
D | README.txt | 15 Running TESTSUITE arm_custom_interrupt 24 TESTSUITE arm_custom_interrupt succeeded 26 ------ TESTSUITE SUMMARY START ------ 31 ------ TESTSUITE SUMMARY END ------
|
/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/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/tests/drivers/ipm/ |
D | testcase.yaml | 16 - "Running TESTSUITE test_ipm" 29 - "TESTSUITE test_ipm succeeded"
|
/Zephyr-latest/tests/arch/common/ramfunc/ |
D | README.txt | 38 Running TESTSUITE ramfunc 43 TESTSUITE ramfunc succeeded 45 ------ TESTSUITE SUMMARY START ------ 50 ------ TESTSUITE SUMMARY END ------
|
/Zephyr-latest/tests/boards/espressif/cache_coex/ |
D | README.rst | 36 Running TESTSUITE cache_coex 47 TESTSUITE cache_coex succeeded 48 ------ TESTSUITE SUMMARY START ------ 53 ------ TESTSUITE SUMMARY END ------
|
/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/scripts/ci/ |
D | tags.yaml | 85 - subsys/testsuite/ 86 - samples/subsys/testsuite/ 87 - tests/subsys/testsuite/
|
/Zephyr-latest/scripts/ |
D | twister | 19 that testsuite meta-data. The full canonical name for each test case is <path to 22 Each test block in the testsuite meta data can define the following key/value 26 A set of string tags for the testsuite. Usually pertains to 31 skip testsuite unconditionally. This can be used for broken tests. 102 Filter whether the testsuite should be run by evaluating an expression 172 The set of test cases that actually run depends on directives in the testsuite
|
/Zephyr-latest/samples/subsys/testsuite/ |
D | testsuite.rst | 1 .. zephyr:code-sample-category:: testsuite
|