summaryrefslogtreecommitdiff
path: root/test/farm/annotate/run_multi.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-04-18 21:59:07 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-04-18 21:59:07 -0400
commit0f274270ce3c31a967382299501ed13e198d0198 (patch)
treeb73707d41370ab8cd231f527baa0496dcc44133c /test/farm/annotate/run_multi.py
parentb5b3a7caa16806ba781526dcac00502571e96fa8 (diff)
downloadpython-coveragepy-0f274270ce3c31a967382299501ed13e198d0198.tar.gz
Make the farm tests more isolated by forcing them to erase coverage data first.
Diffstat (limited to 'test/farm/annotate/run_multi.py')
-rw-r--r--test/farm/annotate/run_multi.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/farm/annotate/run_multi.py b/test/farm/annotate/run_multi.py
index 586aa36..872f097 100644
--- a/test/farm/annotate/run_multi.py
+++ b/test/farm/annotate/run_multi.py
@@ -1,8 +1,7 @@
-outdir = "out_multi"
-copy("src", outdir)
+copy("src", "out_multi")
run("""
- coverage -x multi.py
+ coverage -e -x multi.py
coverage -a
- """, rundir=outdir)
-compare(outdir, "gold_multi", "*,cover")
-clean(outdir)
+ """, rundir="out_multi")
+compare("out_multi", "gold_multi", "*,cover")
+clean("out_multi")