From 8d6958fc041eee42e78ba3c20569c71c35795b8b Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Fri, 20 Jan 2012 12:59:44 +1100 Subject: misc/cgo/test: make tests run on windows - use proper Win64 gcc calling convention when calling initcgo on amd64 - increase g0 stack size to 64K on amd64 to make it the same as 386 - implement C.sleep - do not use C.stat, since it is renamed to C._stat by mingw - use fopen to implement TestErrno, since C.strtol always succeeds on windows - skip TestSetEnv on windows, because os.Setenv sets windows process environment, while C.getenv inspects internal C runtime variable instead R=golang-dev, vcc.163, rsc CC=golang-dev https://golang.org/cl/5500094 --- src/run.bash | 1 - 1 file changed, 1 deletion(-) (limited to 'src/run.bash') diff --git a/src/run.bash b/src/run.bash index 2741637a80..8cc04a71fc 100755 --- a/src/run.bash +++ b/src/run.bash @@ -97,7 +97,6 @@ gomake clean ) || exit $? [ "$CGO_ENABLED" != 1 ] || -[ "$GOHOSTOS" == windows ] || (xcd ../misc/cgo/test gomake clean gotest -- cgit v1.3-5-g9baa