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

Unified Diff: scripts/slave/recipe_modules/chromium_tests/steps.py

Issue 2230043002: Make test-results upload URL configurable. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: rebase 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
Index: scripts/slave/recipe_modules/chromium_tests/steps.py
diff --git a/scripts/slave/recipe_modules/chromium_tests/steps.py b/scripts/slave/recipe_modules/chromium_tests/steps.py
index 16bade45c1d18b0cdec97d11a07bd8bbb32e8e43..41854b57f599ba3aebada23b950f6eb3a79ca6b9 100644
--- a/scripts/slave/recipe_modules/chromium_tests/steps.py
+++ b/scripts/slave/recipe_modules/chromium_tests/steps.py
@@ -351,6 +351,14 @@ class LocalGTestTest(Test):
['failures:', r.failures]
])
+ if api.test_results.c.test_results_server:
+ api.test_results.upload(
+ api.json.input(r.raw),
+ test_type=self.name,
+ chrome_revision=api.bot_update.last_returned_properties.get(
+ 'got_revision_cp', 'x@{#0}'))
+
+
return step_result
def has_valid_results(self, api, suffix):
« no previous file with comments | « scripts/slave/recipe_modules/chromium_tests/chromium_android.py ('k') | scripts/slave/recipe_modules/test_results/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698