mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-09-14 08:29:32 +00:00
test: skip finalizerinvariants.go on riscv-qemu
The finalizer code stops or fails on multicore RISC-V. Locally, 10 of 100 runs fail. 5 runs stop, with one hart in runGC and the other harts in schedulerUnlockAndWait. 5 runs fail with mcause=5 in runtime.scanConservative. Skip the test on this target until #5679 is corrected.
This commit is contained in:
@@ -468,6 +468,14 @@ func runPlatTests(options compileopts.Options, tests []string, t *testing.T) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if options.Target == "riscv-qemu" {
|
||||||
|
switch name {
|
||||||
|
case "finalizerinvariants.go":
|
||||||
|
// The finalizer code stops or fails on multicore RISC-V.
|
||||||
|
// See https://github.com/tinygo-org/tinygo/issues/5679
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
name := name // redefine to avoid race condition
|
name := name // redefine to avoid race condition
|
||||||
t.Run(name, func(t *testing.T) {
|
t.Run(name, func(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user