mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 06:38:47 +00:00
Make the core:testing runner on windows run in a separate thread to handle crashes in more safe manner
This commit is contained in:
@@ -55,11 +55,9 @@ runner :: proc(internal_tests: []Internal_Test) -> bool {
|
||||
logf(t, "[Test: %s]", it.name);
|
||||
|
||||
// TODO(bill): Catch panics
|
||||
{
|
||||
it.p(t);
|
||||
}
|
||||
run_internal_test(t, it);
|
||||
|
||||
if t.error_count != 0 {
|
||||
if failed(t) {
|
||||
logf(t, "[%s : FAILURE]", it.name);
|
||||
} else {
|
||||
logf(t, "[%s : SUCCESS]", it.name);
|
||||
|
||||
Reference in New Issue
Block a user