mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
Reduce some of this tests/lcov doc as it will be in more detail later.
Remove my errant pasted line. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1606 e5f2f494-b856-4b98-b285-d166d9295462
This commit is contained in:
14
README
14
README
@@ -83,23 +83,19 @@ TESTS
|
|||||||
|
|
||||||
The tests use the googletests framework for C++. It is available
|
The tests use the googletests framework for C++. It is available
|
||||||
from http://code.google.com/p/googletest/. To enable the tests,
|
from http://code.google.com/p/googletest/. To enable the tests,
|
||||||
configure BIND 10 with --with-gtest to point to the base path that
|
configure BIND 10 with:
|
||||||
contains the gtest include and lib directories, for example:
|
|
||||||
|
|
||||||
./configure --with-gtest=/usr/pkg/
|
./configure --with-gtest
|
||||||
|
|
||||||
Then run "make check" to run these tests.
|
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
|
TEST COVERAGE
|
||||||
|
|
||||||
The code coverage report for the C++ tests uses LCOV. It is available
|
The code coverage report for the C++ tests uses LCOV. It is available
|
||||||
from http://ltp.sourceforge.net/. To generate your own HTML report,
|
from http://ltp.sourceforge.net/. To generate your own HTML report,
|
||||||
configure BIND 10 with the --with-lcov switch to point to the lcov
|
first configure BIND 10 with:
|
||||||
executable, for example:
|
|
||||||
|
./configure --with-lcov
|
||||||
./configure --with-lcov=/usr/pkg/bin/lcov
|
|
||||||
|
|
||||||
Doing code coverage tests:
|
Doing code coverage tests:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user