From d00161808260f71b942f16246320d2a0d566d2d9 Mon Sep 17 00:00:00 2001 From: Atsushi Watanabe Date: Sun, 12 Jan 2020 22:22:50 +0900 Subject: [PATCH] Support WASM build/test Some tests using net.Conn connection are disabled for now as it is not fully supported by WASM MVP stage. --- agent_test.go | 2 ++ candidate_relay_test.go | 2 ++ candidate_server_reflexive_test.go | 2 ++ connectivity_vnet_test.go | 2 ++ gather_test.go | 2 ++ gather_vnet_test.go | 2 ++ mdns_test.go | 2 ++ transport_test.go | 2 ++ 8 files changed, 16 insertions(+) diff --git a/agent_test.go b/agent_test.go index a360ef3..000a49e 100644 --- a/agent_test.go +++ b/agent_test.go @@ -1,3 +1,5 @@ +// +build !js + package ice import ( diff --git a/candidate_relay_test.go b/candidate_relay_test.go index 74464d4..e750935 100644 --- a/candidate_relay_test.go +++ b/candidate_relay_test.go @@ -1,3 +1,5 @@ +// +build !js + package ice import ( diff --git a/candidate_server_reflexive_test.go b/candidate_server_reflexive_test.go index 8185a1d..18cc3f2 100644 --- a/candidate_server_reflexive_test.go +++ b/candidate_server_reflexive_test.go @@ -1,3 +1,5 @@ +// +build !js + package ice import ( diff --git a/connectivity_vnet_test.go b/connectivity_vnet_test.go index 815817f..4a76d77 100644 --- a/connectivity_vnet_test.go +++ b/connectivity_vnet_test.go @@ -1,3 +1,5 @@ +// +build !js + package ice import ( diff --git a/gather_test.go b/gather_test.go index 8e2d241..2bd0831 100644 --- a/gather_test.go +++ b/gather_test.go @@ -1,3 +1,5 @@ +// +build !js + package ice import ( diff --git a/gather_vnet_test.go b/gather_vnet_test.go index 577e22d..6ad9678 100644 --- a/gather_vnet_test.go +++ b/gather_vnet_test.go @@ -1,3 +1,5 @@ +// +build !js + package ice import ( diff --git a/mdns_test.go b/mdns_test.go index 09542ee..3d365e3 100644 --- a/mdns_test.go +++ b/mdns_test.go @@ -1,3 +1,5 @@ +// +build !js + package ice import ( diff --git a/transport_test.go b/transport_test.go index 272255e..5358ca0 100644 --- a/transport_test.go +++ b/transport_test.go @@ -1,3 +1,5 @@ +// +build !js + package ice import (