diff options
| author | Zhanna Tsitkov <tsitkova@mit.edu> | 2012-11-26 17:32:44 -0500 |
|---|---|---|
| committer | Zhanna Tsitkov <tsitkova@mit.edu> | 2012-11-26 17:32:44 -0500 |
| commit | a1062d11629ae485ce3aa3344a52c902259c2311 (patch) | |
| tree | 9f67fc841ff7333ff731a761d7a5504851f11fe8 /doc/build | |
| parent | 3cd8934659c4558a5144191716085d094b08d44e (diff) | |
| download | krb5-a1062d11629ae485ce3aa3344a52c902259c2311.tar.gz krb5-a1062d11629ae485ce3aa3344a52c902259c2311.tar.xz krb5-a1062d11629ae485ce3aa3344a52c902259c2311.zip | |
Remove Test Coverage topic from documentation
ticket: 7464
Diffstat (limited to 'doc/build')
| -rw-r--r-- | doc/build/index.rst | 1 | ||||
| -rw-r--r-- | doc/build/test_cov.rst | 31 |
2 files changed, 0 insertions, 32 deletions
diff --git a/doc/build/index.rst b/doc/build/index.rst index b39b242db..d89bcbaf4 100644 --- a/doc/build/index.rst +++ b/doc/build/index.rst @@ -57,4 +57,3 @@ Contents doing_build.rst options2configure.rst osconf.rst - test_cov.rst diff --git a/doc/build/test_cov.rst b/doc/build/test_cov.rst deleted file mode 100644 index ccd6c1367..000000000 --- a/doc/build/test_cov.rst +++ /dev/null @@ -1,31 +0,0 @@ -Test coverage -============= - -It is considered good practice to develop and maintain the test suite -with high level of test coverage, i.e., the tests that execute every -single statement, every line of the code and then validate the result. - -The GNU's gcov is a tool that analyses the frequency of execution of -each line of the code. For more details see GNU documentation -http://gcc.gnu.org/onlinedocs/gcc/Gcov.html - -To invoke gcov on krb5 tree, do configure with the following options -and run the tests:: - - ./configure CFLAGS="-fprofile-arcs -ftest-coverage -O0" LIBS=-lgcov - make - make check - -It will result into creation of the new helper files with the -extentions gcno and gcda. - -To validate the test coverage of the specific file, change the -directory to its location and run :: - - gcov -o filename.so.gcno filename.c - -To see the test coverage of the filename.c open a newly created file -filename.c.gcov in the editor. - -Some recent test coverage result can be found at the -http://k5wiki.kerberos.org/wiki/Test_coverage |
