mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-20 04:11:32 +00:00
Merge pull request #7318 from Kelimion/skip_some_riscv_tests
Skip some tests on riscv
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user