HolidayXue / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

make check fails when EXPECT_DEATH is unavailable #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. configure and make gtest
2. run make check

What is the expected output? What do you see instead?
I expect the tests to pass. Instead I see the following output
---SNIP---
test/gtest_repeat_test.cc: In member function 'virtual
void<unnamed>::BarDeathTest_ThreadSafeAndFast_Test::TestBody()':
test/gtest_repeat_test.cc:114: error: 'EXPECT_DEATH' was not declared in
this scope
make[1]: *** [test/gtest_repeat_test.o] Error 1
make: *** [check-am] Error 2
---/SNIP---

What version of the product are you using? On what operating system?
gtest-1.0.0
Mac OS X 10.4.11

Please provide any additional information below.
I have attached a patch which causes all tests to pass on this machine. I
tested the patch on my Google corp workstation as well. All tests pass
there, including BarDeathTest.ThreadSafeAndFast.

Original issue reported on code.google.com by sneaky.r...@gmail.com on 5 Jul 2008 at 8:41

Attachments:

GoogleCodeExporter commented 9 years ago
This should be solved as part of issue #3.

Original comment by shiq...@gmail.com on 7 Jul 2008 at 9:59

GoogleCodeExporter commented 9 years ago
This is fixed in trunk and release-1.0.1.

Original comment by shiq...@gmail.com on 9 Jul 2008 at 10:08