1
0
mirror of https://github.com/golang/go synced 2024-11-26 16:36:49 -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:
Alex Brainman 2015-07-18 10:54:50 +10:00
parent 60315002f3
commit 4a0d9587f2

View File

@ -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>