diff options
author | Jeremy C. Reed <jreed@isc.org> | 2010-03-19 17:33:28 +0100 |
---|---|---|
committer | Jeremy C. Reed <jreed@isc.org> | 2010-03-19 17:33:28 +0100 |
commit | 05f0a51a1993911fa7e3f85c5bc1f2d09e0e9b6c (patch) | |
tree | 40359fca05be270b8f79d1ef2f290f2199525d96 /README | |
parent | remove a re-raise of an exception that should only have been included in an e... (diff) | |
download | kea-05f0a51a1993911fa7e3f85c5bc1f2d09e0e9b6c.tar.xz kea-05f0a51a1993911fa7e3f85c5bc1f2d09e0e9b6c.zip |
Add some details how to configure the tests.
And spell out word.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1602 e5f2f494-b856-4b98-b285-d166d9295462
Diffstat (limited to 'README')
-rw-r--r-- | README | 22 |
1 files changed, 21 insertions, 1 deletions
@@ -46,7 +46,7 @@ Simple build instructions: ./configure make -If building from Subversion repo, run: +If building from Subversion repository, run: autoreconf --install @@ -79,8 +79,28 @@ Install with: make install +TESTS + +The tests use the googletests framework for C++. It is available +from http://code.google.com/p/googletest/. To enable the tests, +configure BIND 10 with --with-gtest to point to the base path that +contains the gtest include and lib directories, for example: + + ./configure --with-gtest=/usr/pkg/ + +Then run "make check" to run these tests. + +./configure CXX=/usr/pkg/gcc44/bin/g++ --with-lcov=/usr/pkg/bin/lcov --prefix=/home/reed/opt/bind10 --with-gtest=/usr/pkg/ LDFLAGS="-Wl,-R/usr/pkg/lib -lpthread" --enable-man --with-boostlib + TEST COVERAGE +The code coverage report for the C++ tests uses LCOV. It is available +from http://ltp.sourceforge.net/. To generate your own HTML report, +configure BIND 10 with the --with-lcov switch to point to the lcov +executable, for example: + + ./configure --with-lcov=/usr/pkg/bin/lcov + Doing code coverage tests: make coverage |