Commit 20bcfa15 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Check whether at least one result file could be found when generating a scalability report.

parent fdf4fa44
......@@ -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
......
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