summaryrefslogtreecommitdiff
path: root/README-alpha.md
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-04-12 14:21:04 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-04-12 14:55:15 +0200
commitac670b2b4c8336c6d2d67322d928ec6b6c576be6 (patch)
tree2e913bc20374a18dbd24b221bfaa01bc2b6b9d0c /README-alpha.md
parenta4fd1120e9c9b237047086f798fab8ffc60b759e (diff)
downloadgnutls-ac670b2b4c8336c6d2d67322d928ec6b6c576be6.tar.gz
configure: Add a code coverage option
Configure with: ./configure --enable-code-coverage Show coverage output with: make && make check && make code-coverage-capture
Diffstat (limited to 'README-alpha.md')
-rw-r--r--README-alpha.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/README-alpha.md b/README-alpha.md
index 73c7ec1e5b..846c576fa3 100644
--- a/README-alpha.md
+++ b/README-alpha.md
@@ -68,16 +68,17 @@ and polarssl.
* [nodejs](http://nodejs.org/) (needed for certain test cases)
* [softhsm](http://www.opendnssec.org/softhsm/) (for testing smart card support)
* [dieharder](http://www.phy.duke.edu/~rgb/General/dieharder.php) (for testing PRNG)
+* [lcov](http://linux-test-project.github.io/) (for code coverage)
Debian/Ubuntu:
```
-apt-get install -y valgrind libasan1 nodejs softhsm datefudge
+apt-get install -y valgrind libasan1 nodejs softhsm datefudge lcov gcov
apt-get install -y dieharder libpolarssl-runtime openssl abi-compliance-checker
```
Fedora/RHEL:
```
-yum install -y valgrind libasan nodejs softhsm datefudge
+yum install -y valgrind libasan nodejs softhsm datefudge lcov gcov
yum install -y dieharder mbedtls-utils openssl abi-compliance-checker
```
@@ -106,6 +107,12 @@ $ make
$ make check
```
+To test the code coverage of the test suite use the following:
+```
+$ ./configure --enable-code-coverage
+$ make && make check && make code-coverage-capture
+```
+
Individual tests that may require additional hardware (e.g., smart cards)
are:
```