aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/stack_test.go')
-rw-r--r--src/runtime/stack_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/stack_test.go b/src/runtime/stack_test.go
index 600e80d8bf..a7c6fc8e5a 100644
--- a/src/runtime/stack_test.go
+++ b/src/runtime/stack_test.go
@@ -6,6 +6,7 @@ package runtime_test
import (
"fmt"
+ "internal/asan"
"internal/testenv"
"reflect"
"regexp"
@@ -932,6 +933,9 @@ func TestFramePointerAdjust(t *testing.T) {
default:
t.Skipf("frame pointer is not supported on %s", GOARCH)
}
+ if asan.Enabled {
+ t.Skip("skipping test: ASAN forces heap allocation")
+ }
output := runTestProg(t, "testprog", "FramePointerAdjust")
if output != "" {
t.Errorf("output:\n%s\n\nwant no output", output)