1#!/bin/sh 2 3./buildconf 4mkdir -p cvr 5cd cvr 6../configure --disable-shared --enable-debug --enable-maintainer-mode --enable-code-coverage 7make -sj 8# the regular test run 9make TFLAGS=-n test-nonflaky 10# make all allocs/file operations fail 11#make TFLAGS=-n test-torture 12# do everything event-based 13make TFLAGS=-n test-event 14lcov -d . -c -o cov.lcov 15genhtml cov.lcov --output-directory coverage --title "curl code coverage" 16tar -cjf curl-coverage.tar.bz2 coverage 17