odin-lang / Odin

Odin Programming Language
https://odin-lang.org
BSD 3-Clause "New" or "Revised" License
6.12k stars 550 forks source link

Fix half-implemented features in the test runner #3764

Closed Feoramund closed 2 weeks ago

Feoramund commented 2 weeks ago

I'm working on documentation for the website, and I found a couple things in the test runner were half-implemented. fail_now will now always diverge, just like the old Windows behavior. cleanups will now be called even if the test fails due to a raised signal. Documentation has been added to warn about the case in which a cleanup proc will run in the main thread and can take out the runner if it also fails.