Add testing.set_fail_timeout

This commit is contained in:
gingerBill
2021-10-11 15:28:25 +01:00
parent 129a62d4f1
commit e64eb631df
3 changed files with 51 additions and 8 deletions
+6
View File
@@ -2,7 +2,13 @@
//+build !windows
package testing
import "core:time"
run_internal_test :: proc(t: ^T, it: Internal_Test) {
// TODO(bill): Catch panics on other platforms
it.p(t);
}
_fail_timeout :: proc(t: ^T, duration: time.Duration, loc := #caller_location) {
}