summaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2012-01-20 12:59:44 +1100
committerAlex Brainman <alex.brainman@gmail.com>2012-01-20 12:59:44 +1100
commitd5d610a3b11b855449c2c10408c1f3033a75afd0 (patch)
treef0b2f48f931a31528cdefb5460065e3abf881d8d /src/run.bash
parent5844cc3b49e25a5afa9dea97be06b414aca8bb6d (diff)
downloadgo-d5d610a3b11b855449c2c10408c1f3033a75afd0.tar.gz
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 http://codereview.appspot.com/5500094
Diffstat (limited to 'src/run.bash')
-rwxr-xr-xsrc/run.bash1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/run.bash b/src/run.bash
index 2741637a8..8cc04a71f 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