Browse Source

Skip TestWebInterface on nacl (#252)

Margaret Nolan 7 years ago
parent
commit
4fc39a00b6
No account linked to committer's email address
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      internal/driver/webui_test.go

+ 5
- 0
internal/driver/webui_test.go View File

28
 
28
 
29
 	"github.com/google/pprof/internal/plugin"
29
 	"github.com/google/pprof/internal/plugin"
30
 	"github.com/google/pprof/profile"
30
 	"github.com/google/pprof/profile"
31
+	"runtime"
31
 )
32
 )
32
 
33
 
33
 func TestWebInterface(t *testing.T) {
34
 func TestWebInterface(t *testing.T) {
35
+	if runtime.GOOS == "nacl" {
36
+		t.Skip("test assumes tcp available")
37
+	}
38
+
34
 	prof := makeFakeProfile()
39
 	prof := makeFakeProfile()
35
 
40
 
36
 	// Custom http server creator
41
 	// Custom http server creator