|
@@ -21,7 +21,7 @@ var udpMultipleGroupListenerTests = []net.Addr{
|
|
|
|
|
|
|
|
func TestUDPSinglePacketConnWithMultipleGroupListeners(t *testing.T) {
|
|
func TestUDPSinglePacketConnWithMultipleGroupListeners(t *testing.T) {
|
|
|
switch runtime.GOOS {
|
|
switch runtime.GOOS {
|
|
|
- case "nacl", "plan9", "windows":
|
|
|
|
|
|
|
+ case "js", "nacl", "plan9", "windows":
|
|
|
t.Skipf("not supported on %s", runtime.GOOS)
|
|
t.Skipf("not supported on %s", runtime.GOOS)
|
|
|
}
|
|
}
|
|
|
if testing.Short() {
|
|
if testing.Short() {
|
|
@@ -61,7 +61,7 @@ func TestUDPSinglePacketConnWithMultipleGroupListeners(t *testing.T) {
|
|
|
|
|
|
|
|
func TestUDPMultiplePacketConnWithMultipleGroupListeners(t *testing.T) {
|
|
func TestUDPMultiplePacketConnWithMultipleGroupListeners(t *testing.T) {
|
|
|
switch runtime.GOOS {
|
|
switch runtime.GOOS {
|
|
|
- case "nacl", "plan9", "windows":
|
|
|
|
|
|
|
+ case "js", "nacl", "plan9", "windows":
|
|
|
t.Skipf("not supported on %s", runtime.GOOS)
|
|
t.Skipf("not supported on %s", runtime.GOOS)
|
|
|
}
|
|
}
|
|
|
if testing.Short() {
|
|
if testing.Short() {
|
|
@@ -116,7 +116,7 @@ func TestUDPMultiplePacketConnWithMultipleGroupListeners(t *testing.T) {
|
|
|
|
|
|
|
|
func TestUDPPerInterfaceSinglePacketConnWithSingleGroupListener(t *testing.T) {
|
|
func TestUDPPerInterfaceSinglePacketConnWithSingleGroupListener(t *testing.T) {
|
|
|
switch runtime.GOOS {
|
|
switch runtime.GOOS {
|
|
|
- case "nacl", "plan9", "windows":
|
|
|
|
|
|
|
+ case "js", "nacl", "plan9", "windows":
|
|
|
t.Skipf("not supported on %s", runtime.GOOS)
|
|
t.Skipf("not supported on %s", runtime.GOOS)
|
|
|
}
|
|
}
|
|
|
if testing.Short() {
|
|
if testing.Short() {
|
|
@@ -172,7 +172,7 @@ func TestUDPPerInterfaceSinglePacketConnWithSingleGroupListener(t *testing.T) {
|
|
|
|
|
|
|
|
func TestIPSingleRawConnWithSingleGroupListener(t *testing.T) {
|
|
func TestIPSingleRawConnWithSingleGroupListener(t *testing.T) {
|
|
|
switch runtime.GOOS {
|
|
switch runtime.GOOS {
|
|
|
- case "nacl", "plan9", "windows":
|
|
|
|
|
|
|
+ case "js", "nacl", "plan9", "windows":
|
|
|
t.Skipf("not supported on %s", runtime.GOOS)
|
|
t.Skipf("not supported on %s", runtime.GOOS)
|
|
|
}
|
|
}
|
|
|
if testing.Short() {
|
|
if testing.Short() {
|
|
@@ -217,7 +217,7 @@ func TestIPSingleRawConnWithSingleGroupListener(t *testing.T) {
|
|
|
|
|
|
|
|
func TestIPPerInterfaceSingleRawConnWithSingleGroupListener(t *testing.T) {
|
|
func TestIPPerInterfaceSingleRawConnWithSingleGroupListener(t *testing.T) {
|
|
|
switch runtime.GOOS {
|
|
switch runtime.GOOS {
|
|
|
- case "nacl", "plan9", "windows":
|
|
|
|
|
|
|
+ case "js", "nacl", "plan9", "windows":
|
|
|
t.Skipf("not supported on %s", runtime.GOOS)
|
|
t.Skipf("not supported on %s", runtime.GOOS)
|
|
|
}
|
|
}
|
|
|
if testing.Short() {
|
|
if testing.Short() {
|