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