mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Merge pull request #1023 from Kelimion/test_runner_fix
Fix Windows test runner.
This commit is contained in:
@@ -153,7 +153,7 @@ run_internal_test :: proc(t: ^T, it: Internal_Test) {
|
|||||||
}
|
}
|
||||||
global_exception_handler = win32.AddVectoredExceptionHandler(0, exception_handler_proc);
|
global_exception_handler = win32.AddVectoredExceptionHandler(0, exception_handler_proc);
|
||||||
|
|
||||||
context.assertion_failure_proc = proc(prefix, message: string, loc: runtime.Source_Code_Location) {
|
context.assertion_failure_proc = proc(prefix, message: string, loc: runtime.Source_Code_Location) -> ! {
|
||||||
errorf(t=global_current_t, format="%s %s", args={prefix, message}, loc=loc);
|
errorf(t=global_current_t, format="%s %s", args={prefix, message}, loc=loc);
|
||||||
intrinsics.trap();
|
intrinsics.trap();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user