| OLD | NEW |
| (Empty) |
| 1 [ | |
| 2 { | |
| 3 "cmd": [ | |
| 4 "python", | |
| 5 "-u", | |
| 6 "import sys; sys.exit(0)" | |
| 7 ], | |
| 8 "name": "success", | |
| 9 "~followup_annotations": [ | |
| 10 "@@@STEP_LOG_LINE@success@This step is a success@@@", | |
| 11 "@@@STEP_LOG_END@success@@@" | |
| 12 ] | |
| 13 }, | |
| 14 { | |
| 15 "cmd": [ | |
| 16 "python", | |
| 17 "-u", | |
| 18 "import sys; sys.exit(1)" | |
| 19 ], | |
| 20 "name": "failure", | |
| 21 "~followup_annotations": [ | |
| 22 "step returned non-zero exit code: 1", | |
| 23 "@@@STEP_TEXT@This step is a failure :(@@@", | |
| 24 "@@@STEP_FAILURE@@@" | |
| 25 ] | |
| 26 }, | |
| 27 { | |
| 28 "cmd": [ | |
| 29 "python", | |
| 30 "-m", | |
| 31 "json.tool", | |
| 32 "{\"something\":[true,true]}" | |
| 33 ], | |
| 34 "env": { | |
| 35 "PYTHONUNBUFFERED": null | |
| 36 }, | |
| 37 "name": "run json.tool" | |
| 38 }, | |
| 39 { | |
| 40 "cmd": [ | |
| 41 "python", | |
| 42 "-u", | |
| 43 "print \"Hello World!\"" | |
| 44 ], | |
| 45 "name": "inline", | |
| 46 "~followup_annotations": [ | |
| 47 "@@@STEP_LOG_LINE@python.inline@print \"Hello World!\"@@@", | |
| 48 "@@@STEP_LOG_END@python.inline@@@" | |
| 49 ] | |
| 50 }, | |
| 51 { | |
| 52 "cmd": [ | |
| 53 "vpython", | |
| 54 "-u", | |
| 55 "RECIPE[recipe_engine::python:example].resources/test.py", | |
| 56 "--verify-enum34" | |
| 57 ], | |
| 58 "name": "run vpython.inlinespec" | |
| 59 }, | |
| 60 { | |
| 61 "cmd": [ | |
| 62 "vpython", | |
| 63 "-spec", | |
| 64 "RECIPE[recipe_engine::python:example].resources/test.vpython", | |
| 65 "-u", | |
| 66 "RECIPE[recipe_engine::python:example].resources/test.py", | |
| 67 "--verify-six" | |
| 68 ], | |
| 69 "name": "run vpython.spec" | |
| 70 }, | |
| 71 { | |
| 72 "name": "$result", | |
| 73 "recipe_result": null, | |
| 74 "status_code": 0 | |
| 75 } | |
| 76 ] | |
| OLD | NEW |