summaryrefslogtreecommitdiff
path: root/tests/farm/annotate/annotate_dir.py
blob: 9bf1b768532ca3de1b29b81dc99185a8a7a40b50 (plain)
1
2
3
4
5
6
7
8
9
10
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt

copy("src", "run")
run("""
    coverage run multi.py
    coverage annotate -d out_anno_dir
    """, rundir="run")
compare("run/out_anno_dir", "gold_anno_dir", "*,cover", left_extra=True)
clean("run")