Lines Matching +full:pylib +full:- +full:tests

4 # SPDX-License-Identifier: Apache-2.0
5 # pylint: disable=line-too-long
7 Tests for testinstance class
17 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister"))
19 from pylib.twister.twisterlib.platform import Simulator
59 testsuite = class_testplan.testsuites.get('scripts/tests/twister/test_data/testsuites/tests/'
141 testcase = class_testplan.testsuites.get('scripts/tests/twister/test_data/testsuites/samples/'
157 testcase = class_testplan.testsuites.get('scripts/tests/twister/test_data/testsuites/samples/'
174 '(dt_compat_enabled("st,stm32-flash-controller") or' \
175 ' dt_compat_enabled("st,stm32h7-flash-controller")) and' \
176 ' dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")',
181 ' dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")) or' \
183 ' dt_label_with_parent_compat_enabled("slot1_ns_partition", "fixed-partitions"))',
202 testsuite_path = 'scripts/tests/twister/test_data/testsuites'
205 elif request.param['testsuite_kind'] == 'tests':
206 testsuite_path += '/tests/test_a/test_a.check_1'
224 testsuite_path = 'scripts/tests/twister/test_data/testsuites/samples/test_app/sample_test.app'
284 testsuite_path = 'scripts/tests/twister/test_data/testsuites/tests/test_a/test_a.check_1'
319 @pytest.mark.parametrize('testinstance', [{'testsuite_kind': 'tests'}], indirect=True)
328 testinstance.testcases[-1].status = TwisterStatus.NONE
333 assert testinstance.testcases[-1].status == TwisterStatus.PASS
334 assert testinstance.testcases[-1].reason == expected_reason
338 testsuite_path = 'scripts/tests/twister/test_data/testsuites/samples/test_app/sample_test.app'
365 @pytest.mark.parametrize('testinstance', [{'testsuite_kind': 'tests'}], indirect=True)
382 @pytest.mark.parametrize('testinstance', [{'testsuite_kind': 'tests'}], indirect=True)
392 @pytest.mark.parametrize('testinstance', [{'testsuite_kind': 'tests'}], indirect=True)
407 @pytest.mark.parametrize('testinstance', [{'testsuite_kind': 'tests'}], indirect=True)
442 testsuite_path = 'scripts/tests/twister/test_data/testsuites/samples/test_app/sample_test.app'
470 'non-qemu simulation with exec', 'unit teting', 'no handler']
472 @pytest.mark.parametrize('testinstance', [{'testsuite_kind': 'tests'}], indirect=True)
535 @pytest.mark.parametrize('testinstance', [{'testsuite_kind': 'tests'}], indirect=True)
578 @pytest.mark.parametrize('testinstance', [{'testsuite_kind': 'tests'}], indirect=True)
607 @pytest.mark.parametrize('testinstance', [{'testsuite_kind': 'tests'}], indirect=True)
640 @pytest.mark.parametrize('testinstance', [{'testsuite_kind': 'tests'}], indirect=True)