diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-08-08 12:33:34 +0100 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-08-08 12:33:34 +0100 |
| commit | d381d0ece4b9cd5fcf454fbd7ca79969d2b76cb8 (patch) | |
| tree | 46744c069541f90aa965b8f6817e999289654512 /tests | |
| parent | d3f649d244529d93b489140e5c7a1aaff97bedb2 (diff) | |
Fix more procedure to be `contextless`
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/core/flags/test_core_flags.odin | 2 | ||||
| -rw-r--r-- | tests/core/normal.odin | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/core/flags/test_core_flags.odin b/tests/core/flags/test_core_flags.odin index 0527d85c5..0cfcf8e75 100644 --- a/tests/core/flags/test_core_flags.odin +++ b/tests/core/flags/test_core_flags.odin @@ -17,7 +17,7 @@ Custom_Data :: struct { } @(init) -init_custom_type_setter :: proc() { +init_custom_type_setter :: proc "contextless" () { // NOTE: This is done here so it can be out of the flow of the // multi-threaded test runner, to prevent any data races that could be // reported by using `-sanitize:thread`. diff --git a/tests/core/normal.odin b/tests/core/normal.odin index 5bc73bd24..a64f38209 100644 --- a/tests/core/normal.odin +++ b/tests/core/normal.odin @@ -2,10 +2,10 @@ package tests_core import rlibc "core:c/libc" -@(init) +@(init="contextless") download_assets :: proc() { if rlibc.system("python3 " + ODIN_ROOT + "tests/core/download_assets.py " + ODIN_ROOT + "tests/core/assets") != 0 { - panic("downloading test assets failed!") + panic_contextless("downloading test assets failed!") } } |