| Index: expect_tests/pipeline.py
|
| diff --git a/expect_tests/pipeline.py b/expect_tests/pipeline.py
|
| index ca2712560b197bd917bfe6c9dddf8fe4a80def29..3c5e1638b3d2495d851b04034ab2889ce3efbdc2 100644
|
| --- a/expect_tests/pipeline.py
|
| +++ b/expect_tests/pipeline.py
|
| @@ -399,7 +399,11 @@ 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')
|
| + assert os.path.isabs(processing_context.cwd)
|
| + # pretest_filename can officially be accessed by .expect_tests_pretest.py to
|
| + # get to this file's location. So no renaming!
|
| + pretest_filename = os.path.join(processing_context.cwd,
|
| + '.expect_tests_pretest.py')
|
| if os.path.isfile(pretest_filename):
|
| execfile(pretest_filename)
|
|
|
|
|