Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Unified Diff: scripts/slave/recipe_modules/test_results/resources/upload_gtest_test_results.py

Issue 1570713003: Flakiness dashboard: dump test results json instead of gtest json. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Fix base revision. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scripts/slave/recipe_modules/test_results/resources/json_results_generator.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/test_results/resources/upload_gtest_test_results.py
diff --git a/scripts/slave/recipe_modules/test_results/resources/upload_gtest_test_results.py b/scripts/slave/recipe_modules/test_results/resources/upload_gtest_test_results.py
index e8202f7e1d217b2c30dc2a55e2b8d3b86f92e14d..d22a0ccd496b2cfb44becaf31fda1ec6dd03ca0d 100755
--- a/scripts/slave/recipe_modules/test_results/resources/upload_gtest_test_results.py
+++ b/scripts/slave/recipe_modules/test_results/resources/upload_gtest_test_results.py
@@ -149,9 +149,12 @@ def main():
options.test_results_server, attrs, files, 120)
except test_results_uploader.PermanentError as e:
# Dump the offending input gtest json to stderr to aid in debugging.
- print>>sys.stderr, 'Dump of input gtest json causing a permanent error:'
- with file(options.input_gtest_json) as json_file:
- sys.stderr.write(json_file.read())
+ print>>sys.stderr, 'Dump of test results json causing a permanent error:'
+ for _, json_filename in files:
+ with file(json_filename) as json_file:
+ print>>sys.stderr, '%s:' % json_filename
+ sys.stderr.write(json_file.read())
+ print>>sys.stderr, ''
raise
return 0
« no previous file with comments | « scripts/slave/recipe_modules/test_results/resources/json_results_generator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698