Skip some tests on riscv

This commit is contained in:
Jeroen van Rijn
2026-08-12 13:59:51 +02:00
parent 3dc7016a4e
commit e5bf7ba6e3
2 changed files with 13 additions and 0 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

@@ -538,6 +538,14 @@ test_ticket_mutex :: proc(t: ^testing.T) {
@test
test_benaphore :: proc(t: ^testing.T) {
// NOTE(Jeroen): Regularly times out on the simulated RISC-V CI runners,
// so we're skipping the test there.
when ODIN_ARCH == .riscv64 {
log.infof("Skipped on riscv64")
return
}
testing.set_fail_timeout(t, FAIL_TIME)
Data :: struct {