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:
deadprogram
2026-09-13 12:03:04 +02:00
parent ea3327a7cd
commit c8be5c349d
+8
View File
@@ -468,6 +468,14 @@ func runPlatTests(options compileopts.Options, tests []string, t *testing.T) {
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
t.Run(name, func(t *testing.T) {