cgo: don't run tests in parallel

Since LLVM 9, CGo sometimes randomly breaks with weird error messages on
Windows. I'm not sure why this is the case, but it might be related to
concurrency.

Disable concurrency for now, and hope that will make the errors go away.
This commit is contained in:
Ayke van Laethem
2019-12-07 23:29:44 +01:00
committed by Ron Evans
parent 8f9419a35d
commit fa8a93b4e7
-2
View File
@@ -25,8 +25,6 @@ func TestCGo(t *testing.T) {
for _, name := range []string{"basic", "errors", "types", "flags"} {
name := name // avoid a race condition
t.Run(name, func(t *testing.T) {
t.Parallel()
// Read the AST in memory.
path := filepath.Join("testdata", name+".go")
fset := token.NewFileSet()