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, ...@@ -109,11 +109,14 @@ def computeStatisticFromFilenameList(argument_namespace, filename_list,
try: try:
suite_name, result_name = label.split(': ', 1) suite_name, result_name = label.split(': ', 1)
except ValueError: except ValueError:
# This is an use case as all results are prefixed by the # This is an use case as all results are prefixed by the suite
# suite name # name and they are two fields (count and time elapsed)
# #
# TODO: Assuming that there was at least one test result # TODO: Assuming that there was at least one test result
# before # before
if suite_name in use_case_suite_dict:
continue
use_case_suite_dict[suite_name] = {'duration_stats': [], use_case_suite_dict[suite_name] = {'duration_stats': [],
'count_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