diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-04-18 21:59:07 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-04-18 21:59:07 -0400 |
commit | 3e9f23a67d8f7553e6fdd0ab09d7c209f75fd413 (patch) | |
tree | 150848c3c65275749a7167c143805a3b36c5eacf /test/farm/annotate/run_multi.py | |
parent | 0f78889a1afa99df36f1e10c3e26c997d0b0c00c (diff) | |
download | python-coveragepy-git-3e9f23a67d8f7553e6fdd0ab09d7c209f75fd413.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.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/test/farm/annotate/run_multi.py b/test/farm/annotate/run_multi.py index 586aa36c..872f0976 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") |