mirror of
https://github.com/golang/go
synced 2024-11-22 02:54:39 -07:00
misc/cgo/test: add test for cgo callbacks with different amount of stack space available
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/11677043
This commit is contained in:
parent
10d1e55103
commit
9fe4a9ecdd
File diff suppressed because it is too large
Load Diff
@ -57,3 +57,10 @@ twoSleep(int n)
|
||||
BackgroundSleep(n);
|
||||
return mysleep(n);
|
||||
}
|
||||
|
||||
void
|
||||
callGoStackCheck(void)
|
||||
{
|
||||
extern void goStackCheck(void);
|
||||
goStackCheck();
|
||||
}
|
||||
|
@ -43,5 +43,6 @@ func Test5337(t *testing.T) { test5337(t) }
|
||||
func Test5548(t *testing.T) { test5548(t) }
|
||||
func Test5603(t *testing.T) { test5603(t) }
|
||||
func Test3250(t *testing.T) { test3250(t) }
|
||||
func TestCallbackStack(t *testing.T) { testCallbackStack(t) }
|
||||
|
||||
func BenchmarkCgoCall(b *testing.B) { benchCgoCall(b) }
|
||||
|
Loading…
Reference in New Issue
Block a user