Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gtest_break_on_failure does not honour EXPECT_FATAL_FAILURE #227

Open
GoogleCodeExporter opened this issue Jul 31, 2015 · 3 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

1. Compile and run the attached file with default settings. Test succeeds.
2. Run the attached file with --gtest_break_on_failure. It breaks into the 
debugger on Windows (can continue), and breaks with invalid memory access 
(cannot continue) on other platforms.

What is the expected output? What do you see instead?

I would expect it to not break since the failure is expected. On non-
windows, I would expect to at least be able to continue, but cannot since 
writing to NULL pointer stops everything.

What version of the product are you using? On what operating system?

gtest-1.4.0 on windows and, um, linux

Please provide any additional information below, such as a code snippet.

See the attached main.cpp

Original issue reported on code.google.com by [email protected] on 24 Nov 2009 at 5:03

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant