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

Unified Diff: scripts/slave/recipe_modules/step/example.expected/exceptional.json

Issue 1347263002: Revert of Cross-repo recipe package system. (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/recipe_modules/step/example.expected/exceptional.json
diff --git a/scripts/slave/recipe_modules/step/example.expected/exceptional.json b/scripts/slave/recipe_modules/step/example.expected/exceptional.json
new file mode 100644
index 0000000000000000000000000000000000000000..3053bb9d52a2ba8c5779fc63740516e89a0ac0b9
--- /dev/null
+++ b/scripts/slave/recipe_modules/step/example.expected/exceptional.json
@@ -0,0 +1,79 @@
+[
+ {
+ "cmd": [
+ "echo",
+ "Hello World"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "hello"
+ },
+ {
+ "cmd": [
+ "echo",
+ "Why hello, there."
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "hello (2)"
+ },
+ {
+ "cmd": [
+ "bash",
+ "-c",
+ "echo Good bye, $friend."
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "env": {
+ "friend": "Darth Vader"
+ },
+ "name": "goodbye"
+ },
+ {
+ "cmd": [
+ "bash",
+ "-c",
+ "exit 3"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "anything is cool"
+ },
+ {
+ "cmd": [
+ "echo",
+ "hello"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "hello (3)",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@the reason@The reason@@@",
+ "@@@STEP_LOG_LINE@the reason@it failed@@@",
+ "@@@STEP_LOG_END@the reason@@@",
+ "@@@STEP_EXCEPTION@@@"
+ ]
+ },
+ {
+ "cmd": [],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "Just print stuff",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@more@More stuff@@@",
+ "@@@STEP_LOG_END@more@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "echo",
+ "goodbye"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "goodbye (2)",
+ "~followup_annotations": [
+ "step returned non-zero exit code: 1",
+ "@@@STEP_FAILURE@@@"
+ ]
+ },
+ {
+ "name": "$final_result",
+ "reason": "Uncaught Exception: ValueError('goodbye must exit 0!',)",
+ "status_code": -1
+ }
+]

Powered by Google App Engine
This is Rietveld 408576698