analyze_outcomes: fix incorrect use of Results.log()
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
parent
5c0c858026
commit
89c88bb44b
1 changed files with 2 additions and 3 deletions
|
@ -101,7 +101,6 @@ def analyze_driver_vs_reference(outcomes, component_ref, component_driver,
|
|||
"""
|
||||
available = check_test_cases.collect_available_test_cases()
|
||||
result = True
|
||||
escape_curly_brace = lambda x: x.replace('{', '{{').replace('}', '}}')
|
||||
|
||||
for key in available:
|
||||
# Continue if test was not executed by any component
|
||||
|
@ -126,7 +125,7 @@ def analyze_driver_vs_reference(outcomes, component_ref, component_driver,
|
|||
if component_ref in entry:
|
||||
reference_test_passed = True
|
||||
if(reference_test_passed and not driver_test_passed):
|
||||
Results.log(escape_curly_brace(key))
|
||||
Results.log('{}', key)
|
||||
result = False
|
||||
return result
|
||||
|
||||
|
@ -621,7 +620,7 @@ def main():
|
|||
|
||||
if options.list:
|
||||
for task in TASKS:
|
||||
Results.log(task)
|
||||
Results.log('{}', task)
|
||||
sys.exit(0)
|
||||
|
||||
result = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue