svn commit: r300695 - projects/zfsd/head/cddl/usr.sbin/zfsd/tests

Alan Somers asomers at freebsd.org
Thu May 26 00:15:10 UTC 2016


On Wed, May 25, 2016 at 3:42 PM, Ngie Cooper <yaneurabeya at gmail.com> wrote:

> On Wed, May 25, 2016 at 1:11 PM, Alan Somers <asomers at freebsd.org> wrote:
> ...
> >   This abandons the gcov integration, but that doesn't work with clang
> anyway.
> >   There's no reduction in the granularity of test visibility to Kyua,
> because
> >   the entire file was a single test from the perspective of ATF.
>
> gcov integration with clang worked for me last year:
>
> https://lists.freebsd.org/pipermail/freebsd-toolchain/2015-April/001669.html
> ..
> Thanks,
> -Ngie
>

Neat!  I didn't know that clang had gained support for libprofile_rt.
However, I'm not going to restore zfsd's gcov integration.  It seemed like
a good idea at the time, but as it turned out, it's too hard to get
comprehensive coverage of zfsd with unit tests alone.  It simply wasn't
designed with unit testing in mind.  Instead, I try to get comprehensive
coverage with functional tests, which may be found in
base/projects/zfsd/head/tests/sys/cddl/zfs/tests/zfsd.

-Alan


More information about the svn-src-projects mailing list