diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2017-01-14 14:58:12 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2017-01-14 14:58:12 -0500 |
| commit | 6d24c0864b2e18fb646ddca1cefd71819b64e83d (patch) | |
| tree | e36ac075d31f29df71bfadadcebb06fd9c487c5c /tests/farm/run/run_timid.py | |
| parent | d2089ccfbbe6da708b065a871b057af88696ff28 (diff) | |
| download | python-coveragepy-6d24c0864b2e18fb646ddca1cefd71819b64e83d.tar.gz | |
Use different out directories for each farm test
Diffstat (limited to 'tests/farm/run/run_timid.py')
| -rw-r--r-- | tests/farm/run/run_timid.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/farm/run/run_timid.py b/tests/farm/run/run_timid.py index a632cea..0370cf8 100644 --- a/tests/farm/run/run_timid.py +++ b/tests/farm/run/run_timid.py @@ -17,16 +17,16 @@ import os if os.environ.get('COVERAGE_COVERAGE', ''): skip("Can't test timid during coverage measurement.") -copy("src", "out") +copy("src", "out_timid") run(""" python showtrace.py none coverage run showtrace.py regular coverage run --timid showtrace.py timid - """, rundir="out", outfile="showtraceout.txt") + """, rundir="out_timid", outfile="showtraceout.txt") # When running without coverage, no trace function # When running timidly, the trace function is always Python. -contains("out/showtraceout.txt", +contains("out_timid/showtraceout.txt", "none None", "timid PyTracer", ) @@ -34,10 +34,10 @@ contains("out/showtraceout.txt", if os.environ.get('COVERAGE_TEST_TRACER', 'c') == 'c': # If the C trace function is being tested, then regular running should have # the C function, which registers itself as f_trace. - contains("out/showtraceout.txt", "regular CTracer") + contains("out_timid/showtraceout.txt", "regular CTracer") else: # If the Python trace function is being tested, then regular running will # also show the Python function. - contains("out/showtraceout.txt", "regular PyTracer") + contains("out_timid/showtraceout.txt", "regular PyTracer") -clean("out") +clean("out_timid") |
