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

Unified Diff: third_party/recipe_engine/expect_tests/main.py

Issue 1151423002: Move recipe engine to third_party/recipe_engine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Moved field_composer_test with its buddies Created 5 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
Index: third_party/recipe_engine/expect_tests/main.py
diff --git a/scripts/slave/unittests/expect_tests/main.py b/third_party/recipe_engine/expect_tests/main.py
similarity index 97%
rename from scripts/slave/unittests/expect_tests/main.py
rename to third_party/recipe_engine/expect_tests/main.py
index 66392e1f17e641f4b3227adf7349d244410487e2..83800de232ab3d598c2facbb1e24af6ee2dd3a5a 100644
--- a/scripts/slave/unittests/expect_tests/main.py
+++ b/third_party/recipe_engine/expect_tests/main.py
@@ -121,7 +121,7 @@ def _parse_args(args, test_gen):
return opts
-def main(name, test_gen, cover_branches=False, args=None):
+def main(name, test_gen, cover_branches=False, cover_omit=None, args=None):
"""Entry point for tests using expect_tests.
Example:
@@ -155,7 +155,7 @@ def main(name, test_gen, cover_branches=False, args=None):
cover_ctx.cleanup()
if not killed and not opts.test_glob:
- if not cover_ctx.report(opts.verbose):
+ if not cover_ctx.report(verbose=opts.verbose, omit=cover_omit):
sys.exit(2)
sys.exit(error or killed)
« no previous file with comments | « third_party/recipe_engine/expect_tests/handle_train.py ('k') | third_party/recipe_engine/expect_tests/pipeline.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698