Lines Matching refs:testsuite
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:
177 return self.testsuite.compose_case_name(tc_name)
209 def testsuite_runnable(testsuite, fixtures): argument
212 if testsuite.harness in [ 'console', 'ztest', 'pytest', 'test', 'gtest', 'robot']:
216 fixture = testsuite.harness_config.get('fixture')
246 elif self.testsuite.type == "unit":
280 if self.testsuite.build_only:
284 skip_slow = self.testsuite.slow and not enable_slow
288 target_ready = bool(self.testsuite.type == "unit" or \
291 simulator.name not in self.testsuite.simulation_exclude) or \
295 if self.testsuite.harness == 'pytest':
306 testsuite_runnable = self.testsuite_runnable(self.testsuite, fixtures)
311 self.testsuite_runnable(self.testsuite, h.fixtures)):
335 if self.testsuite.extra_configs:
340 for config in self.testsuite.extra_configs:
388 extra_sections=self.testsuite.extra_sections,