Commit bfe9cea2 authored by gwenn's avatar gwenn

I don't know how to check current go version is greater than 1.6

parent 948bf3ce
......@@ -25,7 +25,7 @@ func checkNoError(t *testing.T, err error, format string) {
}
func skipIfCgoCheckActive(t *testing.T) {
if runtime.Version() >= "go1.6" && !strings.Contains(os.Getenv("GODEBUG"), "cgocheck=0") {
if /*runtime.Version() >= "go1.6" &&*/ !strings.Contains(os.Getenv("GODEBUG"), "cgocheck=0") {
t.Skip("cgocheck")
}
}
......
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