Merge pull request #7318 from Kelimion/skip_some_riscv_tests

Skip some tests on riscv
This commit is contained in:
Jeroen van Rijn
2026-08-12 14:18:22 +02:00
committed by GitHub
2 changed files with 11 additions and 1 deletions

View File

@@ -608,6 +608,11 @@ test_udp_echo :: proc(t: ^testing.T) {
test_dns_resolve :: proc(t: ^testing.T) {
// NOTE: This test depends on external factors, so if it fails, an IP
// address may have changed or become unavailable.
// It regularly fails on the RISC-V CI runners, so we skip it there
when ODIN_ARCH == .riscv64 {
log.infof("Skipped on riscv64")
return
}
// The net API returns only one address per protocol version, and DNS
// records can store many, so we'll have to check all possibilities.

View File

@@ -8,7 +8,6 @@
package test_core_sync
import "base:intrinsics"
// import "core:log"
import "core:sync"
import "core:testing"
import "core:thread"
@@ -538,6 +537,12 @@ test_ticket_mutex :: proc(t: ^testing.T) {
@test
test_benaphore :: proc(t: ^testing.T) {
when ODIN_ARCH == .riscv64 {
// NOTE(Jeroen): Regularly times out on the simulated RISC-V CI runners,
// so we're skipping the test there.
return
}
testing.set_fail_timeout(t, FAIL_TIME)
Data :: struct {