Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make TritonSupportTest surface sanitizer issues
TritonSupportTest relies on a death test for some of its assertion because Triton doesn't allow graceful error handling for some of the cases we want to test. This death test also used to succeed when the code under test triggered a santizer violation. So this change makes it fail on those sanitizer violations and will be surface those in the log. Ideally we would tightly control in which code path each death test terminates, but unfortunately most of them don't have indicative error message. Some just call `std::abort` without an error message. Some just die in accessing an empty `std::optional`, etc. So the best we can do is make sure that we detect sanitizer errors and report these as test failures. PiperOrigin-RevId: 694523531
- Loading branch information