blob: cb04d45d2b2f262024398d8277f0eefe4109d832 [file] [log] [blame]
Dmitry V. Levincb7409c2016-06-18 22:53:25 +00001#!/bin/sh -ex
2
3if [ "${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 ||:
12fi