Index: scripts/slave/recipes/skia/skia.expected/Test-Mac10.8-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Debug.json |
diff --git a/scripts/slave/recipes/skia/skia.expected/Test-Mac10.8-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Debug.json b/scripts/slave/recipes/skia/skia.expected/Test-Mac10.8-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Debug.json |
index 869f19fadbc6ee1b7ac6e644d3330979ff838d58..9099ac16e9bd16cd8e93056c136e59961d9d7c20 100644 |
--- a/scripts/slave/recipes/skia/skia.expected/Test-Mac10.8-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Debug.json |
+++ b/scripts/slave/recipes/skia/skia.expected/Test-Mac10.8-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Debug.json |
@@ -323,13 +323,24 @@ |
"cmd": [ |
"python", |
"-u", |
- "[SLAVE_BUILD]/skia/tools/get_uploaded_hashes.py", |
- "chromium-skia-gm", |
- "dm-images-v1", |
+ "\nimport contextlib\nimport sys\nimport urllib2\n\nHASHES_URL = 'https://gold.skia.org/2/_/hashes'\n\nwith open(sys.argv[1], 'w') as f:\n with contextlib.closing(urllib2.urlopen(HASHES_URL)) as w:\n f.write(w.read())\n", |
"[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" |
], |
"cwd": "[SLAVE_BUILD]/skia", |
- "name": "get uninteresting hashes" |
+ "name": "get uninteresting hashes", |
+ "~followup_annotations": [ |
+ "@@@STEP_LOG_LINE@python.inline@@@@", |
+ "@@@STEP_LOG_LINE@python.inline@import contextlib@@@", |
+ "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
+ "@@@STEP_LOG_LINE@python.inline@import urllib2@@@", |
+ "@@@STEP_LOG_LINE@python.inline@@@@", |
+ "@@@STEP_LOG_LINE@python.inline@HASHES_URL = 'https://gold.skia.org/2/_/hashes'@@@", |
+ "@@@STEP_LOG_LINE@python.inline@@@@", |
+ "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", |
+ "@@@STEP_LOG_LINE@python.inline@ with contextlib.closing(urllib2.urlopen(HASHES_URL)) as w:@@@", |
+ "@@@STEP_LOG_LINE@python.inline@ f.write(w.read())@@@", |
+ "@@@STEP_LOG_END@python.inline@@@" |
+ ] |
}, |
{ |
"cmd": [ |