mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 17:18:48 -05:00
b5e143e7a5
... the torture ones are commented out only because they are slooooow.
17 lines
458 B
Bash
Executable File
17 lines
458 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
|
|
# the regular test run
|
|
make TFLAGS=-n test-nonflaky
|
|
# make all allocs/file operations fail
|
|
#make TFLAGS=-n test-torture
|
|
# do everything event-based
|
|
make TFLAGS=-n test-event
|
|
lcov -d . -c -o cov.lcov
|
|
genhtml cov.lcov --output-directory coverage --title "curl code coverage"
|
|
tar -cjf curl-coverage.tar.bz2 coverage
|