mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-20 20:39:06 +00:00
main_test: skip flaky goroutines test on threaded schedulers
This commit is contained in:
@@ -280,6 +280,11 @@ func runPlatTests(options compileopts.Options, tests []string, t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _, name := range tests {
|
for _, name := range tests {
|
||||||
|
if name == "goroutines.go" && (spec.Scheduler == "threads" || spec.Scheduler == "cores") {
|
||||||
|
// This test intentionally checks concurrent scheduling by comparing
|
||||||
|
// output order, so only run it with non-threaded schedulers.
|
||||||
|
continue
|
||||||
|
}
|
||||||
if options.GOOS == "linux" && (options.GOARCH == "arm" || options.GOARCH == "386") {
|
if options.GOOS == "linux" && (options.GOARCH == "arm" || options.GOARCH == "386") {
|
||||||
switch name {
|
switch name {
|
||||||
case "timers.go":
|
case "timers.go":
|
||||||
|
|||||||
Reference in New Issue
Block a user