summaryrefslogtreecommitdiff
path: root/tests/farm/annotate/run.py
blob: 6a985d5e5bb6b9999760affd0df6e0b030a0b037 (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", "out")
run("""
    coverage run white.py
    coverage annotate white.py
    """, rundir="out")
compare("gold", "out", "*,cover")
clean("out")