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/12702
Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
Ian Lance Taylor 2015-07-27 10:30:26 -07:00
parent 765cea2b26
commit 129cfa2745
1 changed files with 7 additions and 14 deletions

21
src/cmd/dist/test.go vendored
View File

@ -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")