Commit 4a0d9587 authored by Alex Brainman's avatar Alex Brainman

runtime: skip TestReturnAfterStackGrowInCallback if gcc is not found

Fixes #11754

Change-Id: Ifa423ca6eea46d1500278db290498724a9559d14
Reviewed-on: https://go-review.googlesource.com/12347Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 60315002
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment