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

Unified Diff: scripts/slave/recipe_modules/chromium_android/api.py

Issue 2284913002: chromium_android: Add device affinity to links (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 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/chromium_android/example.expected/enable_platform_mode_basic.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/chromium_android/api.py
diff --git a/scripts/slave/recipe_modules/chromium_android/api.py b/scripts/slave/recipe_modules/chromium_android/api.py
index 6ea8ed92d04b9ed430a0e32f76fc7dbe932c3880..8cf4435c6b0133e1ba51a6a2264beab110b9e3b1 100644
--- a/scripts/slave/recipe_modules/chromium_android/api.py
+++ b/scripts/slave/recipe_modules/chromium_android/api.py
@@ -797,9 +797,12 @@ class AndroidApi(recipe_api.RecipeApi):
finally:
if 'device_affinity' in test_data:
step_result = self.m.step.active_result
+ affinity = test_data['device_affinity']
+
step_result.presentation.step_text += (
self.m.test_utils.format_step_text(
- [['Device Affinity: %s' % test_data['device_affinity']]]))
+ [['Device Affinity: %s' % affinity]]))
+ step_result.presentation.logs['device affinity'] = str(affinity)
if archive:
dest = '{builder}/{test}/{timestamp}_build_{buildno}.zip'.format(
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/chromium_android/example.expected/enable_platform_mode_basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698