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

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

Issue 140463002: Remove JSON summaries from chromium trybot recipe output. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: Created 6 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/recipes/chromium_trybot.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/json/api.py
===================================================================
--- scripts/slave/recipe_modules/json/api.py (revision 245052)
+++ scripts/slave/recipe_modules/json/api.py (working copy)
@@ -117,20 +117,20 @@
# TODO(phajdan.jr): Rename to layout_test_results.
@recipe_util.returns_placeholder
- def test_results(self):
+ def test_results(self, add_json_log=True):
"""A placeholder which will expand to '--json-test-results /tmp/file'.
The test_results will be an instance of the TestResults class.
"""
- return TestResultsOutputPlaceholder(self, True)
+ return TestResultsOutputPlaceholder(self, add_json_log)
@recipe_util.returns_placeholder
- def gtest_results(self):
+ def gtest_results(self, add_json_log=True):
"""A placeholder which will expand to '--test-launcher-summary-output /tmp/file'.
The test_results will be an instance of the GTestResults class.
"""
- return GTestResultsOutputPlaceholder(self, True)
+ return GTestResultsOutputPlaceholder(self, add_json_log)
def property_args(self):
"""Return --build-properties and --factory-properties arguments. LEGACY!
« no previous file with comments | « no previous file | scripts/slave/recipes/chromium_trybot.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698