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

skip all other test cases if a test case crash #45

Open
Thecarisma opened this issue Mar 3, 2021 · 0 comments
Open

skip all other test cases if a test case crash #45

Thecarisma opened this issue Mar 3, 2021 · 0 comments

Comments

@Thecarisma
Copy link
Member

On linux with C++ compiler if a test case crash and was recovered by signal, the second time another test case crash signal is not able to recover and intercept the segfault, this bug is only present on Linux with C++ compiler, clang, and gcc.

The solution is to simply skip other test cases if one crash occur, but that would not be the default behavior because compiling the test as C or C++ on other platforms the issue is not present, instead accept a cli flag --cester-skiponfirstcrash and CESTER_SKIP_ON_FIRST_CRASH() this way the option can be supplied to faulty binaries only

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