summaryrefslogtreecommitdiff
path: root/scripts/coverage.sh
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-06-02 09:25:02 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-06-02 13:15:06 +0200
commitb5e143e7a562a6765077110fe60bccdb8b6bb7d2 (patch)
tree5a45b6dfad1d53440642e320599e08a704700b15 /scripts/coverage.sh
parentf6e0f4556eabc8c2629d16ae599a153392d30d05 (diff)
downloadcurl-b5e143e7a562a6765077110fe60bccdb8b6bb7d2.tar.gz
coverage: run event tests too
... the torture ones are commented out only because they are slooooow.
Diffstat (limited to 'scripts/coverage.sh')
-rwxr-xr-xscripts/coverage.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/coverage.sh b/scripts/coverage.sh
index 5bed21cc4..86cd7a122 100755
--- a/scripts/coverage.sh
+++ b/scripts/coverage.sh
@@ -5,7 +5,12 @@ 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