1
0
mirror of https://github.com/golang/go synced 2024-11-17 16:14:42 -07:00
go/misc/cgo/test
Alex Brainman 8d6958fc04 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
2012-01-20 12:59:44 +11:00
..
align.go misc/cgo/test: run tests 2011-05-02 13:55:51 -04:00
basic.go misc/cgo/test: make tests run on windows 2012-01-20 12:59:44 +11:00
callback_c.c cgo: fix g0 stack guard 2011-11-09 23:11:48 +03:00
callback.go cgo: fix GoBytes 2011-08-30 14:33:16 -03:00
cgo_test.go cgo: fix GoBytes 2011-08-30 14:33:16 -03:00
duplicate_symbol.go cgo: omit duplicate symbols in writeDefs 2011-08-16 14:56:23 -04:00
env.go misc/cgo/test: make tests run on windows 2012-01-20 12:59:44 +11:00
exports.go cgo: add missing semicolon in generated struct 2011-07-18 07:23:52 -07:00
helpers.go cgo: fix incorrect print found by govet 2011-11-29 14:40:34 +11:00
issue1222.go
issue1328.go misc/cgo/test: run tests 2011-05-02 13:55:51 -04:00
issue1560.go misc/cgo/test: make tests run on windows 2012-01-20 12:59:44 +11:00
issue2462.go cgo: support export for built-in types 2011-12-20 09:28:45 -08:00
Makefile misc/cgo/test: make tests run on windows 2012-01-20 12:59:44 +11:00
runtime.c
sleep_windows.go misc/cgo/test: make tests run on windows 2012-01-20 12:59:44 +11:00