Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I'll just run the command on the branches)Sponsored by: Netflix
Fix GoogleTest 1.14.0 import- Prune headers and tests no longer installed after the upgrade.- Remove GoogleTest-related files when MK_GOOGLETEST == no.- Disable `-Werror` with gcc to unbreak the
Fix GoogleTest 1.14.0 import- Prune headers and tests no longer installed after the upgrade.- Remove GoogleTest-related files when MK_GOOGLETEST == no.- Disable `-Werror` with gcc to unbreak the gcc12 CI run with `lib/googletest`. Any issues found by g++ will be filed upstream and hopefully resolved in a future version.- Remove clang -Werror issues which are resolved in version 1.14.0 to avoid masking valid issues.MFC after: 1 weekMFC with: 28f6c2f292806bf31230a959bc4b19d7081669a7
show more ...
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Import GoogleTest 1.14.0GoogleTest 1.14.0 now requires C++14 to build. Change`googletest.test.inc.mk` to reflect this requirement.Adjust the build integration logic to handle the new version of
Import GoogleTest 1.14.0GoogleTest 1.14.0 now requires C++14 to build. Change`googletest.test.inc.mk` to reflect this requirement.Adjust the build integration logic to handle the new version ofGoogleTest (add/remove headers/sources as needed).Tighten down warnings via `CXXFLAGS.clang` instead of ignoring allwarnings. Some new warnings snuck in after I did my last round of fixsubmissions upstream.Also address some overlinking added in the previous version import byremoving superfluous libraries.===============================Expect WhenDynamicCastToTest.AmbiguousCast to failThis change reapplies the expected failure from 1.10.0.Ref: https://github.com/google/googletest/issues/2172MFC after: 2 weeksReviewed by: asomers, emasteDifferential Revision: https://reviews.freebsd.org/D41399Merge commit '8ef491440fcaec96f899d73e08873426c78583a4' into googletest-v1.14.0-import
Rename NO_WERROR -> MK_WERROR=noAs suggested in D27598. This also supports MK_WERROR.clang=no andMK_WERROR.gcc=no to support the existing NO_WERROR.<compiler> uses.Reviewed By: brooksDifferenti
Rename NO_WERROR -> MK_WERROR=noAs suggested in D27598. This also supports MK_WERROR.clang=no andMK_WERROR.gcc=no to support the existing NO_WERROR.<compiler> uses.Reviewed By: brooksDifferential Revision: https://reviews.freebsd.org/D27601
Significantly reduce compile time for googletest internal testsClang's optimizer spends a really long time on these tests at -O2, so we nowuse -O0 instead. This reduces the -j32 time for lib/googl
Significantly reduce compile time for googletest internal testsClang's optimizer spends a really long time on these tests at -O2, so we nowuse -O0 instead. This reduces the -j32 time for lib/googletest/test from 131sto 29s. Using -O0 also reduces the disk usage from 144MB (at -O2) / 92MB (at-O1) to 82MB.Reviewed By: ngie, dimDifferential Revision: https://reviews.freebsd.org/D26751
Major improvement to build parallelism for googletest internal testsCurrently the googletest internal tests build after the matching library.However, each of these is serialized at the top level m
Major improvement to build parallelism for googletest internal testsCurrently the googletest internal tests build after the matching library.However, each of these is serialized at the top level makefile.Additionally some of the tests (e.g. the gmock-matches-test) take up to90 seconds to build with clang -O2. Having to wait for this test tocomplete before continuing to the next directory seriously slows down theparllelism of a -j32 build.Before this change running `make -C lib/googletest -j32 -s` in buildenvtook 202 seconds, now it's 153 due to improved parallelism.Reviewed By: emaste (no objection)Differential Revision: https://reviews.freebsd.org/D26748
Add glue Makefile for tests under lib/googletest/...