mirror of
https://github.com/golang/go
synced 2024-11-26 14:08:37 -07:00
runtime: skip TestReturnAfterStackGrowInCallback if gcc is not found
Fixes #11754 Change-Id: Ifa423ca6eea46d1500278db290498724a9559d14 Reviewed-on: https://go-review.googlesource.com/12347 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
60315002f3
commit
4a0d9587f2
@ -578,6 +578,9 @@ func forceStackCopy() (r int) {
|
||||
}
|
||||
|
||||
func TestReturnAfterStackGrowInCallback(t *testing.T) {
|
||||
if _, err := exec.LookPath("gcc"); err != nil {
|
||||
t.Skip("skipping test: gcc is missing")
|
||||
}
|
||||
|
||||
const src = `
|
||||
#include <stdint.h>
|
||||
|
Loading…
Reference in New Issue
Block a user