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

Unified Diff: ios/build/bots/scripts/run.py

Issue 2619813002: [ios] Updates test_runner.py to output a test results json file. (Closed)
Patch Set: Unordered dict. Created 3 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 | ios/build/bots/scripts/test_runner.py » ('j') | ios/build/bots/scripts/test_runner.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/build/bots/scripts/run.py
diff --git a/ios/build/bots/scripts/run.py b/ios/build/bots/scripts/run.py
index 01ac2e0a072887e023734fe76519cf1f034d257e..25c1d4c488db463108126ec4bdc6b500d6503dfa 100755
--- a/ios/build/bots/scripts/run.py
+++ b/ios/build/bots/scripts/run.py
@@ -71,6 +71,10 @@ def main(args, test_args):
with open(os.path.join(args.out_dir, 'summary.json'), 'w') as f:
json.dump(summary, f)
+ if tr:
+ with open(os.path.join(args.out_dir, 'full_results.json'), 'w') as f:
+ json.dump(tr.test_results, f)
+
lpromero 2017/01/10 14:34:04 Maybe remove this new line, and add one before if
rohitrao (ping after 24h) 2017/01/10 17:39:31 Done.
if __name__ == '__main__':
« no previous file with comments | « no previous file | ios/build/bots/scripts/test_runner.py » ('j') | ios/build/bots/scripts/test_runner.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698