Catch SIGTRAP in the test runner
Fixes `panic` for Darwin.
This commit is contained in:
2 files changed
+11
No files matched your search
@@ -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