mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +00:00
Catch SIGTRAP in the test runner
Fixes `panic` for Darwin.
This commit is contained in:
@@ -9,6 +9,7 @@ Stop_Reason :: enum {
|
||||
Illegal_Instruction,
|
||||
Arithmetic_Error,
|
||||
Segmentation_Fault,
|
||||
Unhandled_Trap,
|
||||
}
|
||||
|
||||
test_assertion_failure_proc :: proc(prefix, message: string, loc: runtime.Source_Code_Location) -> ! {
|
||||
|
||||
Reference in New Issue
Block a user