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

Unified Diff: scripts/slave/recipes/example/subannotations.expected/basic.json

Issue 1076643002: Reland of 'Make allow_subannotations more robust' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Fixed SET_BUILD_PROPERTY parse failure 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scripts/slave/recipes/example/subannotations.py ('k') | scripts/slave/unittests/recipe_simulation_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipes/example/subannotations.expected/basic.json
diff --git a/scripts/slave/recipes/example/subannotations.expected/basic.json b/scripts/slave/recipes/example/subannotations.expected/basic.json
new file mode 100644
index 0000000000000000000000000000000000000000..92d9209aacd00939075392f4f5308deb169e735f
--- /dev/null
+++ b/scripts/slave/recipes/example/subannotations.expected/basic.json
@@ -0,0 +1,67 @@
+[
+ {
+ "allow_subannotations": true,
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport sys\nprint 'Some output...'\nprint '@@@BUILD_STEP a build step@@@'\nprint 'Some output inside a build step'\nprint '@@@STEP_TEXT@this is step text@@@'\nprint '@@@BUILD_STEP another build step@@@'\n"
+ ],
+ "name": "subannotator",
+ "~followup_annotations": [
+ "@@@STEP_TEXT@Wooot!@@@",
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@import sys@@@",
+ "@@@STEP_LOG_LINE@python.inline@print 'Some output...'@@@",
+ "@@@STEP_LOG_LINE@python.inline@print '@@@BUILD_STEP a build step@@@'@@@",
+ "@@@STEP_LOG_LINE@python.inline@print 'Some output inside a build step'@@@",
+ "@@@STEP_LOG_LINE@python.inline@print '@@@STEP_TEXT@this is step text@@@'@@@",
+ "@@@STEP_LOG_LINE@python.inline@print '@@@BUILD_STEP another build step@@@'@@@",
+ "@@@STEP_LOG_END@python.inline@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport sys\nprint 'Some output...'\nprint '@@@BUILD_STEP a unique build step@@@'\nprint 'Some output inside a build step'\nprint '@@@STEP_TEXT@this is step text@@@'\nprint '@@@BUILD_STEP another build step@@@'\n"
+ ],
+ "name": "disallowed subannotator",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@import sys@@@",
+ "@@@STEP_LOG_LINE@python.inline@print 'Some output...'@@@",
+ "@@@STEP_LOG_LINE@python.inline@print '@@@BUILD_STEP a unique build step@@@'@@@",
+ "@@@STEP_LOG_LINE@python.inline@print 'Some output inside a build step'@@@",
+ "@@@STEP_LOG_LINE@python.inline@print '@@@STEP_TEXT@this is step text@@@'@@@",
+ "@@@STEP_LOG_LINE@python.inline@print '@@@BUILD_STEP another build step@@@'@@@",
+ "@@@STEP_LOG_END@python.inline@@@"
+ ]
+ },
+ {
+ "allow_subannotations": true,
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport sys\nprint 'Some output...'\nprint '@@@BUILD_STEP a unique build step@@@'\nprint 'Some output inside a build step'\nprint '@@@STEP_TEXT@this is step text@@@'\nprint '@@@BUILD_STEP another build step@@@'\nsys.exit(1)\n"
+ ],
+ "name": "subannotator (2)",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@import sys@@@",
+ "@@@STEP_LOG_LINE@python.inline@print 'Some output...'@@@",
+ "@@@STEP_LOG_LINE@python.inline@print '@@@BUILD_STEP a unique build step@@@'@@@",
+ "@@@STEP_LOG_LINE@python.inline@print 'Some output inside a build step'@@@",
+ "@@@STEP_LOG_LINE@python.inline@print '@@@STEP_TEXT@this is step text@@@'@@@",
+ "@@@STEP_LOG_LINE@python.inline@print '@@@BUILD_STEP another build step@@@'@@@",
+ "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@",
+ "@@@STEP_LOG_END@python.inline@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "echo",
+ "post_run"
+ ],
+ "name": "post run"
+ }
+]
« no previous file with comments | « scripts/slave/recipes/example/subannotations.py ('k') | scripts/slave/unittests/recipe_simulation_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698