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

Unified Diff: recipe_modules/raw_io/example.expected/basic.json

Issue 2909983003: [loader] Make recipe engine support examples/ module subdir (Closed)
Patch Set: Created 3 years, 7 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 | « recipe_modules/raw_io/example.py ('k') | recipe_modules/raw_io/examples/full.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/raw_io/example.expected/basic.json
diff --git a/recipe_modules/raw_io/example.expected/basic.json b/recipe_modules/raw_io/example.expected/basic.json
deleted file mode 100644
index b700eb28f8e52bcbeacd41debc4587885ceb9553..0000000000000000000000000000000000000000
--- a/recipe_modules/raw_io/example.expected/basic.json
+++ /dev/null
@@ -1,96 +0,0 @@
-[
- {
- "cmd": [
- "echo",
- "Hello World"
- ],
- "name": "echo",
- "stderr": "/path/to/tmp/",
- "stdout": "/path/to/tmp/"
- },
- {
- "cmd": [
- "cat"
- ],
- "name": "cat",
- "stdin": "hello",
- "stdout": "/path/to/tmp/out"
- },
- {
- "cmd": [
- "cat",
- "hello"
- ],
- "name": "cat (2)",
- "stdout": "/path/to/tmp/out"
- },
- {
- "cmd": [
- "cat"
- ],
- "name": "cat (3)",
- "stdin": "\ufffdhello",
- "stdout": "/path/to/tmp/"
- },
- {
- "cmd": [
- "echo",
- "huh"
- ],
- "name": "automock",
- "stdout": "/path/to/tmp/out"
- },
- {
- "cmd": [
- "bash",
- "-c",
- "echo blah && echo fail 1>&2"
- ],
- "name": "automock (fail)",
- "stderr": "/path/to/tmp/err",
- "stdout": "/path/to/tmp/out"
- },
- {
- "cmd": [
- "echo",
- "leaking"
- ],
- "name": "leak stdout",
- "stdout": "[TMP_BASE]/out.txt"
- },
- {
- "cmd": [
- "ls",
- "/path/to/tmp/"
- ],
- "name": "list temp dir"
- },
- {
- "cmd": [
- "ls",
- "[TMP_BASE]/out"
- ],
- "name": "leak dir"
- },
- {
- "cmd": [
- "python",
- "-u",
- "\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('bad_value')\n",
- "/path/to/tmp/"
- ],
- "name": "override_default_mock",
- "~followup_annotations": [
- "@@@STEP_LOG_LINE@python.inline@@@@",
- "@@@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('bad_value')@@@",
- "@@@STEP_LOG_END@python.inline@@@"
- ]
- },
- {
- "name": "$result",
- "recipe_result": null,
- "status_code": 0
- }
-]
« no previous file with comments | « recipe_modules/raw_io/example.py ('k') | recipe_modules/raw_io/examples/full.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698