curl/scripts/coverage.sh
2017-06-02 13:15:06 +02:00

12 lines
313 B
Bash
Executable File

#!/bin/sh
./buildconf
mkdir -p cvr
cd cvr
../configure --disable-shared --enable-debug --enable-maintainer-mode --enable-code-coverage
make -sj
make TFLAGS=-n test-nonflaky
lcov -d . -c -o cov.lcov
genhtml cov.lcov --output-directory coverage --title "curl code coverage"
tar -cjf curl-coverage.tar.bz2 coverage