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

Unified Diff: scripts/slave/recipe_modules/json/example.expected/basic.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
« no previous file with comments | « scripts/slave/recipe_modules/json/example.py ('k') | scripts/slave/recipe_modules/json/test_api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/json/example.expected/basic.json
diff --git a/scripts/slave/recipe_modules/json/example.expected/basic.json b/scripts/slave/recipe_modules/json/example.expected/basic.json
new file mode 100644
index 0000000000000000000000000000000000000000..ab632a2246a2736d5d213e10eccf80adda48acd2
--- /dev/null
+++ b/scripts/slave/recipe_modules/json/example.expected/basic.json
@@ -0,0 +1,63 @@
+[
+ {
+ "cmd": [
+ "echo",
+ "[1, 2, 3]"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "echo1",
+ "stdout": "/path/to/tmp/json",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@json.output@[@@@",
+ "@@@STEP_LOG_LINE@json.output@ 1, @@@",
+ "@@@STEP_LOG_LINE@json.output@ 2, @@@",
+ "@@@STEP_LOG_LINE@json.output@ 3@@@",
+ "@@@STEP_LOG_LINE@json.output@]@@@",
+ "@@@STEP_LOG_END@json.output@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "echo",
+ "[2, 3, 4]"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "echo2",
+ "stdout": "/path/to/tmp/json",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@json.output@[@@@",
+ "@@@STEP_LOG_LINE@json.output@ 2, @@@",
+ "@@@STEP_LOG_LINE@json.output@ 3, @@@",
+ "@@@STEP_LOG_LINE@json.output@ 4@@@",
+ "@@@STEP_LOG_LINE@json.output@]@@@",
+ "@@@STEP_LOG_END@json.output@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport json\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write(json.dumps([1, 2, 3]))\nwith open(sys.argv[2], 'w') as f:\n f.write(json.dumps([2, 3, 4]))\n",
+ "/path/to/tmp/json",
+ "/path/to/tmp/json"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "foo",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@json.output@[@@@",
+ "@@@STEP_LOG_LINE@json.output@ 2, @@@",
+ "@@@STEP_LOG_LINE@json.output@ 3, @@@",
+ "@@@STEP_LOG_LINE@json.output@ 4@@@",
+ "@@@STEP_LOG_LINE@json.output@]@@@",
+ "@@@STEP_LOG_END@json.output@@@",
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@import json@@@",
+ "@@@STEP_LOG_LINE@python.inline@import sys@@@",
+ "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@",
+ "@@@STEP_LOG_LINE@python.inline@ f.write(json.dumps([1, 2, 3]))@@@",
+ "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[2], 'w') as f:@@@",
+ "@@@STEP_LOG_LINE@python.inline@ f.write(json.dumps([2, 3, 4]))@@@",
+ "@@@STEP_LOG_END@python.inline@@@"
+ ]
+ }
+]
« no previous file with comments | « scripts/slave/recipe_modules/json/example.py ('k') | scripts/slave/recipe_modules/json/test_api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698