blob: cb04d45d2b2f262024398d8277f0eefe4109d832 [file] [log] [blame]
#!/bin/sh -ex
if [ "${COVERAGE-}" = true ]; then
set -- strace-*.tar.xz
tar -xf "$1"
dir="${1%.tar.xz}"
cd "$dir"
export CC_FOR_BUILD="$CC"
./configure --enable-code-coverage
make -k $j all check VERBOSE=${VERBOSE-}
codecov --gcov-args=-abcp ||:
fi