]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: skip TestReturnAfterStackGrowInCallback if gcc is not found
authorAlex Brainman <alex.brainman@gmail.com>
Sat, 18 Jul 2015 00:54:50 +0000 (10:54 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Sat, 18 Jul 2015 01:29:09 +0000 (01:29 +0000)
Fixes #11754

Change-Id: Ifa423ca6eea46d1500278db290498724a9559d14
Reviewed-on: https://go-review.googlesource.com/12347
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/syscall_windows_test.go

index cb9dfcde9d89a837bee858f84306dd2601fd18c8..677eb5f82d18cd52ce22937dc8123fc8f7a4bdf0 100644 (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>