Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "REQUIRES: asserts" to test as it requires the compiler to hit an…
… assertion failure to pass and was failing in release builds.
- Loading branch information
1aa1d17
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fhahn
This isn't the only test checking for a crash, or requiring assertions - but in general, we shouldn't be able to reach assertions, right? That's the point, any failed assertion represents a bug/we should have code to handle it. It sounds like from the 820b358 patch description maybe this is intentionally demonstrating a bug, so maybe the bug should/bit of description should be in the test case too?
1aa1d17
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dwblaikie Yep I should have added a FIXME, it is intentionally demonstrating a bug. Should be fixed by 58dcac3.
@dyung thanks for adding the missing
REQUIRES
!1aa1d17
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!