Correct gmock/gtest expectations w.r.t. C++11/RTTI

Long story short, some of the tests were failing because they expected either
dynamic_cast or RTTI to be functional and it wasn't.

Move all common CXXFLAGS out to googletest.test.inc.mk and reference it from
googletest.test.mk and .../googletest/Makefile.inc
This commit is contained in:
Enji Cooper
2019-02-20 20:09:59 +00:00
parent 4783c2dda5
commit 833018816d
4 changed files with 18 additions and 5 deletions
+3
View File
@@ -27,10 +27,13 @@
GTESTS?=
.if !empty(GTESTS)
.include <googletest.test.flags.mk>
PROGS_CXX+= ${GTESTS}
_TESTS+= ${GTESTS}
.for _T in ${GTESTS}
BINDIR.${_T}= ${TESTSDIR}
CXXFLAGS.${_T}+= ${GTESTS_CXXFLAGS}
MAN.${_T}?= # empty
SRCS.${_T}?= ${_T}.cc
TEST_INTERFACE.${_T}= plain