Przeglądaj źródła

Skip TestWebInterface on nacl (#252)

Margaret Nolan 7 lat temu
rodzic
commit
4fc39a00b6
No account linked to committer's email address
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5
    0
      internal/driver/webui_test.go

+ 5
- 0
internal/driver/webui_test.go Wyświetl plik

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