Dmitry V. Levin | cb7409c | 2016-06-18 22:53:25 +0000 | [diff] [blame] | 1 | #!/bin/sh -ex |
2 | |||||
3 | if [ "${COVERAGE-}" = true ]; then | ||||
4 | set -- strace-*.tar.xz | ||||
5 | tar -xf "$1" | ||||
6 | dir="${1%.tar.xz}" | ||||
7 | cd "$dir" | ||||
8 | export CC_FOR_BUILD="$CC" | ||||
9 | ./configure --enable-code-coverage | ||||
10 | make -k $j all check VERBOSE=${VERBOSE-} | ||||
11 | codecov --gcov-args=-abcp ||: | ||||
12 | fi |