aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/runtime/malloc_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/runtime/malloc_test.go b/src/runtime/malloc_test.go
index 091fc21199..854533f238 100644
--- a/src/runtime/malloc_test.go
+++ b/src/runtime/malloc_test.go
@@ -163,9 +163,8 @@ type acLink struct {
var arenaCollisionSink []*acLink
func TestArenaCollision(t *testing.T) {
- if GOOS == "nacl" {
- t.Skip("nacl can't self-exec a test")
- }
+ testenv.MustHaveExec(t)
+
// Test that mheap.sysAlloc handles collisions with other
// memory mappings.
if os.Getenv("TEST_ARENA_COLLISION") != "1" {