MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ExecutionResult

Class ExecutionResult

dpdk/dts/framework/test_result.py:228–252  ·  view source on GitHub ↗

The execution specific result. The _inner_results list stores results of build targets in a given execution. Also stores the SUT node configuration.

Source from the content-addressed store, hash-verified

226
227
228class ExecutionResult(BaseResult):
229 """
230 The execution specific result.
231 The _inner_results list stores results of build targets in a given execution.
232 Also stores the SUT node configuration.
233 """
234
235 sut_node: NodeConfiguration
236 sut_os_name: str
237 sut_os_version: str
238 sut_kernel_version: str
239
240 def __init__(self, sut_node: NodeConfiguration):
241 super(ExecutionResult, self).__init__()
242 self.sut_node = sut_node
243
244 def add_build_target(self, build_target: BuildTargetConfiguration) -> BuildTargetResult:
245 build_target_result = BuildTargetResult(build_target)
246 self._inner_results.append(build_target_result)
247 return build_target_result
248
249 def add_sut_info(self, sut_info: NodeInfo):
250 self.sut_os_name = sut_info.os_name
251 self.sut_os_version = sut_info.os_version
252 self.sut_kernel_version = sut_info.kernel_version
253
254
255class DTSResult(BaseResult):

Callers 1

add_executionMethod · 0.85

Calls

no outgoing calls

Tested by 1

add_executionMethod · 0.68