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

atf-c++ shouldn't catch exceptions from test cases #7

Closed
wca opened this issue Jun 4, 2014 · 0 comments
Closed

atf-c++ shouldn't catch exceptions from test cases #7

wca opened this issue Jun 4, 2014 · 0 comments

Comments

@wca
Copy link
Member

wca commented Jun 4, 2014

atf-c++/tests.cpp:wrap_body() catches exceptions from the test case body. Assuming that the test framework executes each test in a child process, this should not be necessary. In fact, if any exception is thrown, the easiest way to debug what went wrong is if there is a crash dump. But the try..catch statements in this method preclude that from ever occurring.

@jmmv jmmv closed this as completed in a768c1c Jun 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant