Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
07587e9d
Commit
07587e9d
authored
Jun 11, 2009
by
zhanyong.wan
Browse files
Works around a gcc bug that causes tr1/tuple to fail to compile when RTTI is disabled.
parent
bf55085d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
Makefile.am
Makefile.am
+10
-0
No files found.
Makefile.am
View file @
07587e9d
...
@@ -135,6 +135,16 @@ check_PROGRAMS += test/gmock_test
...
@@ -135,6 +135,16 @@ check_PROGRAMS += test/gmock_test
test_gmock_test_SOURCES
=
test
/gmock_test.cc
test_gmock_test_SOURCES
=
test
/gmock_test.cc
test_gmock_test_LDADD
=
$(GTEST_LIBS)
lib/libgmock_main.la
test_gmock_test_LDADD
=
$(GTEST_LIBS)
lib/libgmock_main.la
# A sanity test for verifying that Google Mock works when RTTI is
# disabled. We pick gmock-spec-builders_test.cc as it exercises all
# components of Google Mock.
TESTS
+=
test
/gmock_no_rtti_test
check_PROGRAMS
+=
test
/gmock_no_rtti_test
test_gmock_no_rtti_test_SOURCES
=
test
/gmock-spec-builders_test.cc
\
src/gmock-all.cc
test_gmock_no_rtti_test_CXXFLAGS
=
$(AM_CXXFLAGS)
-fno-rtti
-DGTEST_HAS_RTTI
=
0
test_gmock_no_rtti_test_LDADD
=
$(GTEST_LIBS)
# The following tests depend on the presence of a Python installation and are
# The following tests depend on the presence of a Python installation and are
# keyed off of it. We only add them to the TESTS variable when a Python
# keyed off of it. We only add them to the TESTS variable when a Python
# interpreter is available. TODO(chandlerc@google.com): While we currently only
# interpreter is available. TODO(chandlerc@google.com): While we currently only
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment