Commit 4674a7af authored by Arnaud Fontaine's avatar Arnaud Fontaine

Skip second use cases field in CSV file to avoid adding the suite twice.

parent cfc17e5a
......@@ -109,11 +109,14 @@ def computeStatisticFromFilenameList(argument_namespace, filename_list,
try:
suite_name, result_name = label.split(': ', 1)
except ValueError:
# This is an use case as all results are prefixed by the
# suite name
# This is an use case as all results are prefixed by the suite
# name and they are two fields (count and time elapsed)
#
# TODO: Assuming that there was at least one test result
# before
if suite_name in use_case_suite_dict:
continue
use_case_suite_dict[suite_name] = {'duration_stats': [],
'count_stats': []}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment