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

Side by Side Diff: scripts/slave/recipes/skia/skia.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json

Issue 1068503002: Skia: Replace get_uploaded_hashes call with inline script (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 5 years, 8 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 unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "git", 4 "git",
5 "fetch" 5 "fetch"
6 ], 6 ],
7 "cwd": "[SLAVE_BUILD]/skia", 7 "cwd": "[SLAVE_BUILD]/skia",
8 "name": "git fetch" 8 "name": "git fetch"
9 }, 9 },
10 { 10 {
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 312 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
313 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 313 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
314 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 314 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
315 "@@@STEP_LOG_END@python.inline@@@" 315 "@@@STEP_LOG_END@python.inline@@@"
316 ] 316 ]
317 }, 317 },
318 { 318 {
319 "cmd": [ 319 "cmd": [
320 "python", 320 "python",
321 "-u", 321 "-u",
322 "[SLAVE_BUILD]/skia/tools/get_uploaded_hashes.py", 322 "\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 contextli b.closing(urllib2.urlopen(HASHES_URL)) as w:\n f.write(w.read())\n",
323 "chromium-skia-gm",
324 "dm-images-v1",
325 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" 323 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt"
326 ], 324 ],
327 "cwd": "[SLAVE_BUILD]/skia", 325 "cwd": "[SLAVE_BUILD]/skia",
328 "name": "get uninteresting hashes" 326 "name": "get uninteresting hashes",
327 "~followup_annotations": [
328 "@@@STEP_LOG_LINE@python.inline@@@@",
329 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@",
330 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
331 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@",
332 "@@@STEP_LOG_LINE@python.inline@@@@",
333 "@@@STEP_LOG_LINE@python.inline@HASHES_URL = 'https://gold.skia.org/2/_/ha shes'@@@",
334 "@@@STEP_LOG_LINE@python.inline@@@@",
335 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@",
336 "@@@STEP_LOG_LINE@python.inline@ with contextlib.closing(urllib2.urlopen( HASHES_URL)) as w:@@@",
337 "@@@STEP_LOG_LINE@python.inline@ f.write(w.read())@@@",
338 "@@@STEP_LOG_END@python.inline@@@"
339 ]
329 }, 340 },
330 { 341 {
331 "cmd": [ 342 "cmd": [
332 "python", 343 "python",
333 "-u", 344 "-u",
334 "[SLAVE_BUILD]/skia/tools/dm_flags.py", 345 "[SLAVE_BUILD]/skia/tools/dm_flags.py",
335 "/path/to/tmp/json", 346 "/path/to/tmp/json",
336 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" 347 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug"
337 ], 348 ],
338 "cwd": "[SLAVE_BUILD]/skia", 349 "cwd": "[SLAVE_BUILD]/skia",
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 "-i", 435 "-i",
425 "[SLAVE_BUILD]/skia/resources", 436 "[SLAVE_BUILD]/skia/resources",
426 "--skps", 437 "--skps",
427 "[SLAVE_BUILD]/playback/skps", 438 "[SLAVE_BUILD]/playback/skps",
428 "--nogpu", 439 "--nogpu",
429 "--dummy-flags" 440 "--dummy-flags"
430 ], 441 ],
431 "name": "nanobench" 442 "name": "nanobench"
432 } 443 }
433 ] 444 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698