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
F82010115: D19552.id.diff
Wed, Apr 24, 12:10 PM
Unknown Object (File)
Sat, Apr 20, 7:14 AM
Unknown Object (File)
Jan 6 2024, 12:53 PM
Unknown Object (File)
Jan 6 2024, 12:53 PM
Unknown Object (File)
Jan 6 2024, 12:50 PM
Unknown Object (File)
Jan 6 2024, 12:16 PM
Unknown Object (File)
Jan 3 2024, 10:54 PM
Unknown Object (File)
Nov 29 2023, 1:16 PM
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 Passed
Unit
No Test Coverage
Build Status
Buildable 23022
Build 22094: arc lint + arc unit

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.