summaryrefslogtreecommitdiff
path: root/tests/farm/annotate/annotate_dir.py
blob: 0ecf71bd7ef473fd89105509069a095d369c3cd4 (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("gold_anno_dir", "run/out_anno_dir", "*,cover", actual_extra=True)
clean("run")