aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/run_tests.py
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jan.tattermusch@gmail.com>2018-08-26 20:30:28 +0200
committerGravatar Jan Tattermusch <jan.tattermusch@gmail.com>2018-08-26 20:30:28 +0200
commitcc3780eb506d34b884bb4f71a1e1ad39c4050331 (patch)
treec1313c238113842f254151124e4e7955628ce44e /tools/run_tests/run_tests.py
parent98fd5a73c3bf1aa285f58932e76bfeaaf5766786 (diff)
refactor upload_to_bq functions
Diffstat (limited to 'tools/run_tests/run_tests.py')
-rwxr-xr-xtools/run_tests/run_tests.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index e04b13b24c..c4954df12b 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -1821,8 +1821,13 @@ def _build_and_run(check_cancelled,
for antagonist in antagonists:
antagonist.kill()
if args.bq_result_table and resultset:
- upload_results_to_bq(resultset, args.bq_result_table, args,
- platform_string())
+ upload_extra_fields={
+ 'compiler': args.compiler,
+ 'config': args.config,
+ 'iomgr_plaform': args.iomgr_platform,
+ 'language': args.language[0], # args.language is a list but will always have one element when uploading to BQ is enabled.
+ 'plaform': platform_string()}
+ upload_results_to_bq(resultset, args.bq_result_table, upload_extra_fields)
if xml_report and resultset:
report_utils.render_junit_xml_report(
resultset, xml_report, suite_name=args.report_suite_name)