Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Binh
erp5
Commits
20bcfa15
Commit
20bcfa15
authored
12 years ago
by
Arnaud Fontaine
Browse files
Options
Download
Email Patches
Plain Diff
Check whether at least one result file could be found when generating a scalability report.
parent
fdf4fa44
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
erp5/util/benchmark/report.py
erp5/util/benchmark/report.py
+6
-0
No files found.
erp5/util/benchmark/report.py
View file @
20bcfa15
...
...
@@ -524,6 +524,12 @@ def generateReport():
report_dict
[
'filename'
].
append
(
filename
)
if
not
per_nb_users_report_dict
:
print
>>
sys
.
stderr
,
"ERROR: No result file found, perhaps "
\
"``--filename-prefix'' should be specified?"
sys
.
exit
(
1
)
pdf
=
PdfPages
(
argument_namespace
.
output_filename
)
is_range_user
=
len
(
per_nb_users_report_dict
)
>
1
...
...
This diff is collapsed.
Click to expand it.
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