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

Unified Diff: scripts/slave/recipe_modules/test_results/resources/json_results_generator.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 | « no previous file | scripts/slave/recipe_modules/test_results/resources/upload_gtest_test_results.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/test_results/resources/json_results_generator.py
diff --git a/scripts/slave/recipe_modules/test_results/resources/json_results_generator.py b/scripts/slave/recipe_modules/test_results/resources/json_results_generator.py
index 92753fca6ffcc351e32b44540a3b680b6ea10916..989989555daba79548ffc5994e9e512ff2e973ce 100644
--- a/scripts/slave/recipe_modules/test_results/resources/json_results_generator.py
+++ b/scripts/slave/recipe_modules/test_results/resources/json_results_generator.py
@@ -203,7 +203,7 @@ class JSONResultsGenerator(object):
def _write_json(self, json_object, file_path):
# Specify separators in order to get compact encoding.
- json_data = json.dumps(json_object, separators=(',', ':'))
+ json_data = json.dumps(json_object, separators=(',', ':'), indent=2)
json_string = json_data
if self._file_writer:
self._file_writer(file_path, json_string)
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/test_results/resources/upload_gtest_test_results.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698