This change integrates the unit tests for zfsd into the test suite using the integration method described in r345203. 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 r345203. Reviewed by: asomers Approved by: emaste (mentor) MFC after: 2 months MFC with: r345203 Differential Revision: https://reviews.freebsd.org/D19552
15 lines
263 B
Makefile
15 lines
263 B
Makefile
# $FreeBSD$
|
|
|
|
.include "${.CURDIR}/../Makefile.common"
|
|
.PATH: ${.CURDIR:H}
|
|
|
|
GTESTS= zfsd_unittest
|
|
|
|
SRCS.zfsd_unittest:= ${SRCS:Nzfsd_main.cc}
|
|
SRCS.zfsd_unittest+= libmocks.c zfsd_unittest.cc
|
|
.undef SRCS
|
|
|
|
LIBADD.zfsd_unittest+= gmock_main
|
|
|
|
.include <bsd.test.mk>
|