Commit 1e008285 authored by m1093782566's avatar m1093782566

support run ipvs UTs in windows platform

parent 4f2d7b93
...@@ -8,15 +8,9 @@ load( ...@@ -8,15 +8,9 @@ load(
go_test( go_test(
name = "go_default_test", name = "go_default_test",
srcs = select({ srcs = ["proxier_test.go"],
"@io_bazel_rules_go//go/platform:linux_amd64": [
"proxier_test.go",
],
"//conditions:default": [],
}),
library = ":go_default_library", library = ":go_default_library",
deps = select({ deps = [
"@io_bazel_rules_go//go/platform:linux_amd64": [
"//pkg/api:go_default_library", "//pkg/api:go_default_library",
"//pkg/proxy:go_default_library", "//pkg/proxy:go_default_library",
"//pkg/proxy/util:go_default_library", "//pkg/proxy/util:go_default_library",
...@@ -32,8 +26,6 @@ go_test( ...@@ -32,8 +26,6 @@ go_test(
"//vendor/k8s.io/utils/exec:go_default_library", "//vendor/k8s.io/utils/exec:go_default_library",
"//vendor/k8s.io/utils/exec/testing:go_default_library", "//vendor/k8s.io/utils/exec/testing:go_default_library",
], ],
"//conditions:default": [],
}),
) )
go_library( go_library(
......
// +build linux
/* /*
Copyright 2017 The Kubernetes Authors. Copyright 2017 The Kubernetes Authors.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment