Commit a2389739 authored by Shenghou Ma's avatar Shenghou Ma

runtime/debug: skip TestWriteHeapDumpNonempty on NaCl.

TestWriteHeap is useless on NaCl anyway.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/101980048
parent c53111d9
......@@ -7,10 +7,14 @@ package debug
import (
"io/ioutil"
"os"
"runtime"
"testing"
)
func TestWriteHeapDumpNonempty(t *testing.T) {
if runtime.GOOS == "nacl" {
t.Skip("WriteHeapDump is not available on NaCl.")
}
f, err := ioutil.TempFile("", "heapdumptest")
if err != nil {
t.Fatalf("TempFile failed: %v", err)
......
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