| 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)
|
|
|