Catch SIGTRAP in the test runner

Fixes `panic` for Darwin.
This commit is contained in:
Feoramund
2024-06-28 19:43:03 -04:00
parent 929cc48703
commit 13539d3be1
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -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) -> ! {