Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
erp5
Commits
4674a7af
Commit
4674a7af
authored
Dec 07, 2011
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip second use cases field in CSV file to avoid adding the suite twice.
parent
cfc17e5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
erp5/util/benchmark/report.py
erp5/util/benchmark/report.py
+5
-2
No files found.
erp5/util/benchmark/report.py
View file @
4674a7af
...
@@ -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'
:
[]}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment