Home
last modified time | relevance | path

Searched refs:testcases (Results 1 – 25 of 34) sorted by relevance

12

/Zephyr-latest/tests/kernel/sched/schedule_api/src/
Dtest_sched_priority.c190 } testcases[] = { in ZTEST() local
200 for (int i = 0; i < ARRAY_SIZE(testcases); i++) { in ZTEST()
201 zassert_equal(_is_valid_prio(testcases[i].prio, in ZTEST()
202 testcases[i].entry), in ZTEST()
203 testcases[i].result, "failed check %d", i); in ZTEST()
205 zassert_equal(Z_VALID_PRIO(testcases[i].prio, in ZTEST()
206 testcases[i].entry), in ZTEST()
207 testcases[i].result, "failed check %d", i); in ZTEST()
/Zephyr-latest/scripts/tests/twister/
DREADME.md17 The testcases can be executed from the root directory using
54 - test_twister.py : Contains basic testcases for environment variables, verifying testcase & platfo…
55 - test_testsuite_class.py : Contains testcases for Testsuite class (except reporting functionality)…
56 - test_testinstance.py : Contains testcases for Testinstance and Testcase class.
57 - test_reporting_testsuite.py : Contains testcases for reporting functionality of Testsuite class o…
Dtest_testplan.py504 testcases=[
510 testcases=[
518 testplan.testsuites['ts1'].testcases[0].name = 'ts1.tc1'
519 testplan.testsuites['ts1'].testcases[1].name = 'ts1.tc2'
521 testplan.testsuites['ts2'].testcases[0].name = 'ts2.tc1'
522 testplan.testsuites['ts2'].testcases[1].name = 'ts2.tc2'
523 testplan.testsuites['ts2'].testcases[2].name = 'ts2.tc3'
707 'ts1': mock.Mock(testcases=[], extra_configs=[]),
708 'ts2': mock.Mock(testcases=[], extra_configs=[]),
1299 ts1 = mock.Mock(testcases=[tc1, tc2])
[all …]
Dtest_testinstance.py241 testinstance.testcases = [mock.Mock()]
299 for tcc in testinstance.testsuite.testcases
301 ) for tc in testsuite.testcases
325 assert len(testinstance.testcases) > 1, 'Selected testsuite does not have enough testcases.'
327 testinstance.testcases[0].status = TwisterStatus.STARTED
328 testinstance.testcases[-1].status = TwisterStatus.NONE
332 assert testinstance.testcases[0].status == TwisterStatus.FAIL
333 assert testinstance.testcases[-1].status == TwisterStatus.PASS
334 assert testinstance.testcases[-1].reason == expected_reason
389 assert tc in testinstance.testcases
Dtest_harness.py202 mock_testsuite = mock.Mock(id="id", testcases=[])
233 mock_testsuite = mock.Mock(id="id", testcases=[])
283 mock_testsuite = mock.Mock(id="id", testcases=[mock.Mock()])
337 mock_testsuite = mock.Mock(id="id", testcases=[])
398 mock_testsuite = mock.Mock(id="id", testcases=[])
460 mock_testsuite = mock.Mock(id="id", testcases=[])
555 id="id", testcases=[], source_dir="source_dir", harness_config={}
704 mock_testsuite = mock.Mock(id="dummy.test_id", testcases=[])
735 assert test_obj.instance.testcases[0].status == exp_status
737 assert test_obj.instance.testcases[1].status == exp_status
[all …]
Dtest_runner.py457 instance_mock.testcases = [mock.Mock(), mock.Mock()]
458 instance_mock.testcases[0].status = TwisterStatus.NONE
459 instance_mock.testcases[1].status = TwisterStatus.NONE
508 for tc in cmake.instance.testcases:
1658 instance_mock.testcases = []
2084 instance_mock.testsuite.testcases = [unknown_mock_tc for _ in range(25)]
2085 instance_mock.testcases = [unknown_mock_tc for _ in range(24)] + \
2581 testcases=[mock.Mock()]
2588 testcases=[mock.Mock(), mock.Mock(), mock.Mock(), mock.Mock()]
2595 testcases=[mock.Mock()]
[all …]
Dtest_testsuite.py782 assert len(suite.testcases) == len(expected)
783 for testcase in suite.testcases:
Dtest_handlers.py128 instance.testcases = [mock.Mock()]
148 testcase in handler.instance.testcases)
197 instance.testcases = [mock.Mock()]
212 testcase.status == TwisterStatus.FAIL for testcase in handler.instance.testcases
/Zephyr-latest/scripts/tests/twister/pytest_integration/
Dtest_harness_pytest.py185 assert len(testinstance.testcases) == 2
186 for tc in testinstance.testcases:
215 assert len(testinstance.testcases) == 2
216 for tc in testinstance.testcases:
251 assert len(testinstance.testcases) == 2
252 for tc in testinstance.testcases:
281 assert len(testinstance.testcases) == 1
/Zephyr-latest/tests/bsim/bluetooth/audio/
DREADME.txt5 testcases which are compiled with it.
/Zephyr-latest/tests/bsim/bluetooth/ll/conn/
DREADME.txt5 testcases which are compiled with it.
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dtestinstance.py88 self.testcases: list[TestCase] = []
133 for c in self.testsuite.testcases:
156 for case in self.testcases:
189 self.testcases.append(tc)
193 for c in self.testcases:
199 for c in self.testcases:
205 self.testcases.append(tc)
Dtestplan.py545 testcases = []
547 for case in ts.testcases:
548 testcases.append(case.name)
550 return testcases
553 testcases = []
557 for case in ts.testcases:
558 testcases.append(case.detailed_name)
561 for case in ts.testcases:
562 testcases.append(case.detailed_name)
567 for case in ts.testcases:
[all …]
Dtestsuite.py451 self.testcases = []
498 testcases = data.get("testcases", [])
499 if testcases:
500 for tc in testcases:
515 self.testcases.append(tc)
Dreports.py398 testcases = []
400 if len(instance.testcases) == 1:
405 for case in instance.testcases:
413 and len(instance.testcases) > 1
438 testcases.append(testcase)
440 suite['testcases'] = testcases
Dharness.py225 self.instance.testcases[0].status = TwisterStatus.PASS
231 self.instance.testcases[0].status = TwisterStatus.FAIL
249 if self.instance and len(self.instance.testcases) == 1:
250 return self.instance.testcases[0].name
566 self.instance.testcases = []
573 if not self.instance.testcases:
Drunner.py737 for tc in self.instance.testcases:
902 for tc in self.instance.testcases:
1231 for tc in self.instance.testcases
1233 self.instance.testcases.clear()
1234 self.instance.testsuite.testcases.clear()
1449 for tc in instance.testcases:
1492 results.cases_increment(len(instance.testcases))
1553 for tc in self.instance.testcases:
1859 self.results.filtered_cases_increment(len(instance.testsuite.testcases))
1860 self.results.cases_increment(len(instance.testsuite.testcases))
Dhandlers.py137 for tc in self.instance.testcases:
161 for tc in self.instance.testcases:
/Zephyr-latest/soc/intel/intel_adsp/
DKconfig.defconfig21 # a delay beween testcases.
/Zephyr-latest/tests/net/lib/lwm2m/interop/
DREADME.md3 This directory contains list of testcases that use
4 the Twister's Pytest integration to run testcases against Leshan demo server.
/Zephyr-latest/scripts/ci/es_upload/
DREADME.md56 either `testcases` or `recording`, so each item there becomes an independent data record
/Zephyr-latest/doc/develop/test/twister/
Dtwister_blackbox.rst68 ignore the Zephyr testcases in the ``tests`` directory. **Note that all ``test_data``
/Zephyr-latest/doc/releases/
Drelease-notes-2.6.rst1042 * Added and refined some testcases, most of them are negative testcases, to
1179 * :github:`35242` - intel_adsp_cavs15: run kernel common testcases failed on ADSP
1180 * :github:`35241` - intel_adsp_cavs15: run interrupt testcases failed on ADSP
1264 * :github:`35082` - intel_adsp_cavs15: All the testcases run failed on ADSP
1280 * :github:`35026` - sam_e70b_xplained: failed to run testcases tests/drivers/adc/adc_emul/
1358 * :github:`34505` - mimxrt1050_evk:failed to run testcases tests/net
1487 * :github:`33898` - intel_adsp_cavs15: running testcases failed tests/kernel/workq/work on adsp
1782 * :github:`32966` - frdm_k64f: Run some testcases timeout failed by using twister
1881 * :github:`32696` - intel_adsp_cavs15: run testcases failed of tests/kernel/common
1882 * :github:`32695` - intel_adsp_cavs15: cannot get output of some testcases
[all …]
Drelease-notes-2.5.rst960 * :github:`32112` - intel_adsp_cavs15: a part of testcases run failed with same error
1035 * :github:`31735` - intel_adsp_cavs15: use twister to run kernel testcases has no output
1044 * :github:`31684` - intel_adsp_cavs15: Cannot download firmware of kernel testcases
1100 * :github:`31566` - up_squared: Couldn't get testcase log from console for all testcases.
1147 * :github:`31301` - intel_adsp_cavs15: run kernel testcases failed.
1193 * :github:`30979` - up_squared_adsp: Twister can not capture testcases log correctly
1737 * :github:`27573` - coverage: When enable coverage, some testcases need more time
/Zephyr-latest/subsys/testsuite/ztest/src/
Dztest.c1446 SHELL_CMD_ARG(list-testcases, NULL,

12