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

Unified Diff: scripts/slave/recipes/chromium_trybot.expected/gpu_tests.json

Issue 1366353002: Change test_util summarize_retried_test not to use inline python (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years, 3 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/recipes/chromium_trybot.expected/gpu_tests.json
diff --git a/scripts/slave/recipes/chromium_trybot.expected/gpu_tests.json b/scripts/slave/recipes/chromium_trybot.expected/gpu_tests.json
index 1458fa9a6e94dad51c1828716b310d85ec1f0c1f..e0dc0cb39c16c2a6cbd28e80ef01e8e1e1bc74b3 100644
--- a/scripts/slave/recipes/chromium_trybot.expected/gpu_tests.json
+++ b/scripts/slave/recipes/chromium_trybot.expected/gpu_tests.json
@@ -4289,32 +4289,12 @@
"cmd": [
"python",
"-u",
- "\nimport sys, json\nfailures = json.load(open(sys.argv[1], 'rb'))\n\nsuccess = True\n\nif failures['new']:\n success = False\n print 'New failures:'\n for f in failures['new']:\n print f\n\nif failures['ignored']:\n print 'Ignored failures:'\n for f in failures['ignored']:\n print f\n\nsys.exit(0 if success else 1)\n",
- "{\"ignored\": [\"Test.Test1\"], \"new\": []}"
+ "import sys; sys.exit(0)"
],
"cwd": "[SLAVE_BUILD]",
"name": "pixel_test on Intel GPU on Mac",
"~followup_annotations": [
"@@@STEP_TEXT@<br/>ignored:<br/>Test.Test1<br/>@@@",
- "@@@STEP_LOG_LINE@python.inline@@@@",
- "@@@STEP_LOG_LINE@python.inline@import sys, json@@@",
- "@@@STEP_LOG_LINE@python.inline@failures = json.load(open(sys.argv[1], 'rb'))@@@",
- "@@@STEP_LOG_LINE@python.inline@@@@",
- "@@@STEP_LOG_LINE@python.inline@success = True@@@",
- "@@@STEP_LOG_LINE@python.inline@@@@",
- "@@@STEP_LOG_LINE@python.inline@if failures['new']:@@@",
- "@@@STEP_LOG_LINE@python.inline@ success = False@@@",
- "@@@STEP_LOG_LINE@python.inline@ print 'New failures:'@@@",
- "@@@STEP_LOG_LINE@python.inline@ for f in failures['new']:@@@",
- "@@@STEP_LOG_LINE@python.inline@ print f@@@",
- "@@@STEP_LOG_LINE@python.inline@@@@",
- "@@@STEP_LOG_LINE@python.inline@if failures['ignored']:@@@",
- "@@@STEP_LOG_LINE@python.inline@ print 'Ignored failures:'@@@",
- "@@@STEP_LOG_LINE@python.inline@ for f in failures['ignored']:@@@",
- "@@@STEP_LOG_LINE@python.inline@ print f@@@",
- "@@@STEP_LOG_LINE@python.inline@@@@",
- "@@@STEP_LOG_LINE@python.inline@sys.exit(0 if success else 1)@@@",
- "@@@STEP_LOG_END@python.inline@@@",
"@@@STEP_WARNINGS@@@"
]
}

Powered by Google App Engine
This is Rietveld 408576698