Explorar el Código

Skip TestWebInterface on nacl (#252)

Margaret Nolan hace 7 años
padre
commit
4fc39a00b6
No account linked to committer's email address
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5
    0
      internal/driver/webui_test.go

+ 5
- 0
internal/driver/webui_test.go Ver fichero

@@ -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