mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
Revert "internal/processtest: prevent parallel process testing"
This reverts commit 397da70815
.
Reason: This did not resolve the issue: https://github.com/hajimehoshi/ebiten/actions/runs/4180959132/jobs/7242421909
Updates #2571
This commit is contained in:
parent
7315044dcf
commit
a65b65110b
@ -42,11 +42,7 @@ func TestPrograms(t *testing.T) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run tests not in parallel (#2571)
|
|
||||||
ch := make(chan struct{})
|
|
||||||
t.Run(n, func(t *testing.T) {
|
t.Run(n, func(t *testing.T) {
|
||||||
defer close(ch)
|
|
||||||
|
|
||||||
cmd := exec.Command("go", "run", filepath.Join(dir, n))
|
cmd := exec.Command("go", "run", filepath.Join(dir, n))
|
||||||
stderr := &bytes.Buffer{}
|
stderr := &bytes.Buffer{}
|
||||||
cmd.Stderr = stderr
|
cmd.Stderr = stderr
|
||||||
@ -54,6 +50,5 @@ func TestPrograms(t *testing.T) {
|
|||||||
t.Errorf("%v\n%s", err, stderr)
|
t.Errorf("%v\n%s", err, stderr)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
<-ch
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user