summaryrefslogtreecommitdiff
path: root/test/farm/run/run_xxx.py
blob: 19e94a4216adc3d03e309b955c1c0396f25becd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
copy("src", "out")
run("""
    coverage -e -x xxx
    coverage -r
    """, rundir="out", outfile="stdout.txt")
contains("out/stdout.txt",
        "xxx: 3 4 0 7",
        "\nxxx ",           # The reporting line for xxx
        " 7      1    86%"  # The reporting data for xxx
        )
doesnt_contain("out/stdout.txt", "No such file or directory")
clean("out")