diff options
author | Guillem Jover <guillem@debian.org> | 2010-07-11 11:44:41 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2010-07-11 13:21:22 +0200 |
commit | 0581dda824f26e9eec996ebf4de5f6474336bec2 (patch) | |
tree | 632ed4fcad3ceb9e2ff7b4baf8e2d8c60979ed88 /doc | |
parent | 577ab5dd513beb641f1d635d8ead681065254233 (diff) | |
download | dpkg-0581dda824f26e9eec996ebf4de5f6474336bec2.tar.gz |
build: Add optional code coverage support
Enable code coverage support with 'configure --enable-coverage'. Use
gcov and lcov for C code coverage, and Devel::Cover and cover for Perl
code coverage.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/.gitignore | 1 | ||||
-rw-r--r-- | doc/lcov-epilog | 8 | ||||
-rw-r--r-- | doc/lcov-prolog | 8 |
3 files changed, 17 insertions, 0 deletions
diff --git a/doc/.gitignore b/doc/.gitignore index acdcabb2c..52119265e 100644 --- a/doc/.gitignore +++ b/doc/.gitignore @@ -1,2 +1,3 @@ Doxyfile html +coverage diff --git a/doc/lcov-epilog b/doc/lcov-epilog new file mode 100644 index 000000000..8bc660c1a --- /dev/null +++ b/doc/lcov-epilog @@ -0,0 +1,8 @@ + <table width="100%" border=0 cellspacing=0 cellpadding=0> + <tr> + <td class="coverFile"><a href="scripts/coverage.html">scripts</a></td> + </tr> + </table> + <br /> +</body> +</html> diff --git a/doc/lcov-prolog b/doc/lcov-prolog new file mode 100644 index 000000000..49f2a4bc3 --- /dev/null +++ b/doc/lcov-prolog @@ -0,0 +1,8 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html lang="en"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>@pagetitle@</title> + <link rel="stylesheet" type="text/css" href="@basedir@gcov.css"> +</head> +<body> |