2017-06-01 18:59:35 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
./buildconf
|
|
|
|
mkdir -p cvr
|
|
|
|
cd cvr
|
|
|
|
../configure --disable-shared --enable-debug --enable-maintainer-mode --enable-code-coverage
|
|
|
|
make -sj
|
2017-06-02 03:25:02 -04:00
|
|
|
# the regular test run
|
2017-06-01 18:59:35 -04:00
|
|
|
make TFLAGS=-n test-nonflaky
|
2017-06-02 03:25:02 -04:00
|
|
|
# make all allocs/file operations fail
|
|
|
|
#make TFLAGS=-n test-torture
|
|
|
|
# do everything event-based
|
|
|
|
make TFLAGS=-n test-event
|
2017-06-01 18:59:35 -04:00
|
|
|
lcov -d . -c -o cov.lcov
|
|
|
|
genhtml cov.lcov --output-directory coverage --title "curl code coverage"
|
|
|
|
tar -cjf curl-coverage.tar.bz2 coverage
|