mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-28 10:20:05 +00:00
fix some bugs with -disable-assert
This commit is contained in:
@@ -654,8 +654,8 @@ runner :: proc(internal_tests: []Internal_Test) -> bool {
|
||||
#no_bounds_check pkg := report.packages_by_name[it.pkg]
|
||||
pkg.frame_ready = false
|
||||
|
||||
fmt.assertf(thread.pool_stop_task(&pool, test_index),
|
||||
"A signal (%v) was raised to stop test #%i %s.%s, but it was unable to be found.",
|
||||
found := thread.pool_stop_task(&pool, test_index)
|
||||
fmt.assertf(found, "A signal (%v) was raised to stop test #%i %s.%s, but it was unable to be found.",
|
||||
reason, test_index, it.pkg, it.name)
|
||||
|
||||
// The order this is handled in is a little particular.
|
||||
|
||||
Reference in New Issue
Block a user