freebsd-dev/share/examples
Enji Cooper 5193fcde8d Initial googlemock/googletest integration into the build/FreeBSD test suite
This initial integration takes googlemock/googletest release 1.8.1, integrates
the library, tests, and sample unit tests into the build.

googlemock/googletest's inclusion is optionally available via `MK_GOOGLETEST`.
`MK_GOOGLETEST` is dependent on `MK_TESTS` and is enabled by default when
built with a C++11 capable toolchain.

Google tests can be specified via the `GTESTS` variable, which, in comparison
with the other test drivers, is more simplified/streamlined, as Googletest only
supports C++ tests; not raw C or shell tests (C tests can be written in C++
using the standard embedding methods).

No dependent libraries are assumed for the tests. One must specify `gmock`,
`gmock_main`, `gtest`, or `gtest_main`, via `LIBADD` for the program.

More information about googlemock and googletest can be found on the
Googletest [project page](https://github.com/google/googletest), and the
[GoogleMock](https://github.com/google/googletest/blob/v1.8.x/googlemock/docs/Documentation.md)
and
[GoogleTest](https://github.com/google/googletest/tree/v1.8.x/googletest/docs)
docs.

These tests are originally integrated into the build as plain driver tests, but
will be natively integrated into Kyua in a later version.

Known issues/Errata:
* [WhenDynamicCastToTest.AmbiguousCast fails on FreeBSD](https://github.com/google/googletest/issues/2172)

Reviewed by:	asomers
Approved by:	emaste (mentor)
MFC after:	2 months
Differential Revision: https://reviews.freebsd.org/D19551
2019-03-15 21:43:52 +00:00
..
bhyve bhyve/vmrun.sh: make -L functional. 2018-06-24 15:22:38 +00:00
bootforth Move sys/boot to stand. Fix all references to new location 2017-11-14 23:02:19 +00:00
BSD_daemon SPDX: use the Beerware identifier. 2017-11-30 20:33:45 +00:00
csh - Add two new subcommands to rc.subr: 2016-04-23 16:19:34 +00:00
diskless
drivers Remove 'All Rights Reserved' from the collection copyright and templates. 2018-05-09 02:02:49 +00:00
etc Remove 'All Rights Reserved' from the collection copyright and templates. 2018-05-09 02:02:49 +00:00
find_interface Update share/examples/* to properly install /usr/share/examples. 2016-05-10 00:51:50 +00:00
FreeBSD_version Update share/examples/* to properly install /usr/share/examples. 2016-05-10 00:51:50 +00:00
hast share and pc-sysinstall: adoption of SPDX licensing ID tags. 2017-11-27 15:28:26 +00:00
hwpmc hwpmc: add summary command and further metadata extensions 2018-06-06 02:48:09 +00:00
indent
ipfilter share: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:26:40 +00:00
ipfw share and pc-sysinstall: adoption of SPDX licensing ID tags. 2017-11-27 15:28:26 +00:00
IPv6
jails Fix jail examples in jib, jng, README 2018-10-28 18:32:47 +00:00
kld example cdev: use make_dev_s 2018-01-26 04:24:39 +00:00
libifconfig libifconfig: multiple feature additions 2018-02-23 03:11:43 +00:00
libusb20 SPDX: use the Beerware identifier. 2017-11-30 20:33:45 +00:00
libvgl share and pc-sysinstall: adoption of SPDX licensing ID tags. 2017-11-27 15:28:26 +00:00
mdoc Add SPDX tags to example manual pages and POSIX copyright. 2018-07-20 13:45:09 +00:00
netgraph
perfmon Update share/examples/* to properly install /usr/share/examples. 2016-05-10 00:51:50 +00:00
pf Update share/examples/* to properly install /usr/share/examples. 2016-05-10 00:51:50 +00:00
ppi Update share/examples/* to properly install /usr/share/examples. 2016-05-10 00:51:50 +00:00
ppp For the udp-client example, instruct user to add an entry for a udp based 2017-08-01 16:20:33 +00:00
printing Remove now bogus README 2017-10-30 00:36:08 +00:00
scsi_target share and pc-sysinstall: adoption of SPDX licensing ID tags. 2017-11-27 15:28:26 +00:00
ses Update share/examples/* to properly install /usr/share/examples. 2016-05-10 00:51:50 +00:00
smbfs share: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:26:40 +00:00
sunrpc examples: fix typo 2017-12-29 23:58:05 +00:00
tests Initial googlemock/googletest integration into the build/FreeBSD test suite 2019-03-15 21:43:52 +00:00
uefisign Make the uefikeys script output slightly more obvious. 2015-02-26 14:22:27 +00:00
witness
ypldap ypldap(8) is a feature ready to be used to translate nis(8) database to ldap(3). 2016-01-13 01:49:35 +00:00
Makefile Remove iBCS2, part1: userspace 2018-12-19 21:56:54 +00:00
Makefile.depend DIRDEPS_BUILD: Fix staging of share/sendmail and share/examples. 2016-03-11 23:45:09 +00:00