|
This patch adds support for marking test cases as expected to fail using the should_fail option in add_tests(). This is useful for validating crash handling, incomplete features, or contract-breaking behavior in a controlled manner.
The test report has also been slightly modified to:
- Distinguish expected failures and unexpected passes.
- Print a detailed summary of failed tests, unexpected passes, and expected failures at the end.
|