aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/run_performance_tests.py
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-11-29 11:34:20 -0800
committerGravatar Mark D. Roth <roth@google.com>2016-11-29 11:34:20 -0800
commit09ee8d0284a04de2ca981dbf5435f4fa798ad136 (patch)
tree9a017e6358eb3423d6f7fe0c4800112186d8559a /tools/run_tests/run_performance_tests.py
parentd4d4ce5faca698551ec4bb2c52adc69433fe53c6 (diff)
parent3b04e7e3795f9f5e339ae7dfc40babb19485cfaf (diff)
Merge remote-tracking branch 'upstream/master' into security_handshaker1
Diffstat (limited to 'tools/run_tests/run_performance_tests.py')
-rwxr-xr-xtools/run_tests/run_performance_tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/run_tests/run_performance_tests.py b/tools/run_tests/run_performance_tests.py
index 7cb827ecea..1d0c98fb69 100755
--- a/tools/run_tests/run_performance_tests.py
+++ b/tools/run_tests/run_performance_tests.py
@@ -403,6 +403,8 @@ argp.add_argument('--netperf',
action='store_const',
const=True,
help='Run netperf benchmark as one of the scenarios.')
+argp.add_argument('-x', '--xml_report', default='report.xml', type=str,
+ help='Name of XML report file to generate.')
args = argp.parse_args()
@@ -473,7 +475,7 @@ for scenario in scenarios:
qps_workers_killed += finish_qps_workers(scenario.workers)
-report_utils.render_junit_xml_report(merged_resultset, 'report.xml',
+report_utils.render_junit_xml_report(merged_resultset, args.xml_report,
suite_name='benchmarks')
if total_scenario_failures > 0 or qps_workers_killed > 0: