summaryrefslogtreecommitdiff
path: root/tests/farm/annotate/annotate_dir.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2013-02-02 11:15:11 -0500
committerNed Batchelder <ned@nedbatchelder.com>2013-02-02 11:15:11 -0500
commitd5f8295256d04ba8cb5b42a16ce741a34c9bb3c5 (patch)
treeff8c6d6310bb3865411d40198c07f26eb5709959 /tests/farm/annotate/annotate_dir.py
parentb5a466fc3d7a71fc811b2430f04e6fc270858935 (diff)
downloadpython-coveragepy-d5f8295256d04ba8cb5b42a16ce741a34c9bb3c5.tar.gz
Move the test directory to tests to avoid conflicts with the stdlib test package.
Diffstat (limited to 'tests/farm/annotate/annotate_dir.py')
-rw-r--r--tests/farm/annotate/annotate_dir.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/farm/annotate/annotate_dir.py b/tests/farm/annotate/annotate_dir.py
new file mode 100644
index 0000000..3e37f9e
--- /dev/null
+++ b/tests/farm/annotate/annotate_dir.py
@@ -0,0 +1,7 @@
+copy("src", "run")
+run("""
+ coverage -e -x multi.py
+ coverage -a -d out_anno_dir
+ """, rundir="run")
+compare("run/out_anno_dir", "gold_anno_dir", "*,cover", left_extra=True)
+clean("run")