Add comment to read_outcome_file in analyze_outcomes.py
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
parent
c2e8f3a080
commit
451ec8a4bc
1 changed files with 3 additions and 0 deletions
|
@ -174,6 +174,9 @@ def read_outcome_file(outcome_file: str) -> Outcomes:
|
|||
with open(outcome_file, 'r', encoding='utf-8') as input_file:
|
||||
for line in input_file:
|
||||
(_platform, component, suite, case, result, _cause) = line.split(';')
|
||||
# Note that `component` is not unique. If a test case passes on Linux
|
||||
# and fails on FreeBSD, it'll end up in both the successes set and
|
||||
# the failures set.
|
||||
suite_case = ';'.join([suite, case])
|
||||
if component not in outcomes:
|
||||
outcomes[component] = ComponentOutcomes(set(), set())
|
||||
|
|
Loading…
Reference in a new issue