[bind10-dev] Which version of gtest should I use when performing unit tests?

Jeremy C. Reed jreed at isc.org
Thu Dec 16 18:07:48 UTC 2010


On Thu, 16 Dec 2010, report wrote:

> Subject: [bind10-dev] Which version of gtest should I use when performing unit
>      tests?

I am using gtest versions 1.3.0, 1.4.0, and 1.5.0.

>     version of bind is : bind10-devel-20101201 ( the same results for
> bind10-devel-20100917 and source code in trunk directory on svn server )
>     version of gtest is: gtest 1.5.0 ( the same results for gtest 1.3.0  )
> Detail information as follows:
>     When I ran 'make coverage':
> ...
> mydir/bind10-devel-20101201/src/lib/dns/tests/.libs/lt-run_unittests: symbol
> lookup error:
> mydir/bind10-devel-20101201/src/lib/dns/tests/.libs/lt-run_unittests:
> undefined symbol: _ZN3isc3dns5rdata3any4TSIGD1Ev

From this I am not sure if is gtest linking or libdns++ linking.

What is your platform? What operating system? What compiler?

What are surrounding lines for the FAILED error in "make check"? (You 
can "cd src/lib/dns" first.)

What is the output for the following?

gtest-config --cppflags

gtest-config --ldflags

gtest-config --libs

(We may have more questions too.)

Thanks for letting us know your coverage report is working. And thank 
you for trying BIND 10.


More information about the bind10-dev mailing list