Chromium Code Reviews| Index: expect_tests/pipeline.py |
| diff --git a/expect_tests/pipeline.py b/expect_tests/pipeline.py |
| index e31a947996f5b5efb4072caa32ed01b6e7bdf098..ca2712560b197bd917bfe6c9dddf8fe4a80def29 100644 |
| --- a/expect_tests/pipeline.py |
| +++ b/expect_tests/pipeline.py |
| @@ -399,6 +399,10 @@ def result_loop_single_context(cover_ctx, kill_switch, result_queue, opts, |
| opts: output of argparse.ArgumentParser.parse_args (see main.py) |
| processing_context (ProcessingContext): the task to perform. |
| """ |
| + pretest_filename = os.path.join(processing_context.cwd, '.expect_tests.py') |
|
agable
2015/02/03 04:23:48
In the documentation you committed previously, you
agable
2015/02/03 04:27:59
Also, this implementation requires the same .expec
|
| + if os.path.isfile(pretest_filename): |
| + execfile(pretest_filename) |
| + |
| sys.path.insert(0, processing_context.cwd) |
| # This flag is set when test generation has finished. |