Page MenuHomeFreeBSD

Integrate cddl/usr.sbin/zfds/tests into the FreeBSD test suite
ClosedPublic

Authored by ngie on Mar 12 2019, 12:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 8, 1:08 PM
Unknown Object (File)
Sun, Dec 8, 1:08 PM
Unknown Object (File)
Sun, Dec 8, 1:08 PM
Unknown Object (File)
Sun, Dec 8, 1:08 PM
Unknown Object (File)
Fri, Dec 6, 5:00 PM
Unknown Object (File)
Mon, Nov 25, 8:33 AM
Unknown Object (File)
Mon, Nov 25, 1:41 AM
Unknown Object (File)
Sun, Nov 24, 7:26 AM
Subscribers

Details

Summary

This change integrates the unit tests for zfsd into the test suite using the
integration method described in D19551.

This change removes the LOCALBASE includes added for the port version of
googlemock/googletest, as well as unnecessary LIBADD/DPADD and CXXFLAGS
defines, which are included in the GTEST_CXXFLAGS variable, as part of
D19551.

Test Plan
$ kyua test -k /usr/tests/cddl/usr.sbin/zfsd/Kyuafile
zfsd_unittest:main  ->  passed  [0.024s]

Results file id is usr_tests_cddl_usr.sbin_zfsd.20190312-000329-993750
Results saved to /home/ngie/.kyua/store/results.usr_tests_cddl_usr.sbin_zfsd.20190312-000329-993750.db

1/1 passed (0 failed)

The full results from Kyua can be found
here.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ngie edited the summary of this revision. (Show Details)

Fix a build break with mips*/powerpc* as they lack C++11 capable compilers and
would fail to build the zfsd tests with g++ 4.2.1.

This revision is now accepted and ready to land.Mar 12 2019, 2:59 PM
This revision was automatically updated to reflect the committed changes.