Commit 129cfa27 authored by Ian Lance Taylor's avatar Ian Lance Taylor

cmd/dist: run misc/cgo/testsovar on darwin and netbsd

CL https://golang.org/cl/12470 has reportedly fixed the problems that
the misc/cgo/testsovar test encountered on darwin and netbsd.  Let's
actually run the test.

Update #10360.
Update #11654.

Change-Id: I4cdd27a8ec8713620e0135780a03f63cfcc538d0
Reviewed-on: https://go-review.googlesource.com/12702Reviewed-by: default avatarRuss Cox <rsc@golang.org>
parent 765cea2b
......@@ -418,20 +418,13 @@ func (t *tester) registerTests() {
return t.cgoTestSO("misc/cgo/testso")
},
})
switch t.goos {
case "darwin":
// Skipping misc/cgo/testsovar test. See issue 10360 for details.
case "netbsd":
// Skipping misc/cgo/testsovar test. See issue 11654 for details.
default:
t.tests = append(t.tests, distTest{
name: "testsovar",
heading: "../misc/cgo/testsovar",
fn: func() error {
return t.cgoTestSO("misc/cgo/testsovar")
},
})
}
t.tests = append(t.tests, distTest{
name: "testsovar",
heading: "../misc/cgo/testsovar",
fn: func() error {
return t.cgoTestSO("misc/cgo/testsovar")
},
})
}
if t.supportedBuildmode("c-archive") {
t.registerTest("testcarchive", "../misc/cgo/testcarchive", "./test.bash")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment