aboutsummaryrefslogtreecommitdiffhomepage
path: root/cgo
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2019-12-07 23:29:44 +0100
committerRon Evans <[email protected]>2019-12-08 12:35:43 +0100
commitfa8a93b4e7670cc756779268646296fb89fbeae2 (patch)
tree2456792f9bc83f3258d4d1e0eed266898bf8af27 /cgo
parent8f9419a35d9e68cc20e88ac19c5a19d39085e7fe (diff)
downloadtinygo-fa8a93b4e7670cc756779268646296fb89fbeae2.tar.gz
tinygo-fa8a93b4e7670cc756779268646296fb89fbeae2.zip
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.
Diffstat (limited to 'cgo')
-rw-r--r--cgo/cgo_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/cgo/cgo_test.go b/cgo/cgo_test.go
index 65ac14954..d057584cb 100644
--- a/cgo/cgo_test.go
+++ b/cgo/cgo_test.go
@@ -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()