Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
c6e79167
Commit
c6e79167
authored
Mar 26, 2017
by
Klaus Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip e2e test for Mac.
parent
6a529f70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
golang.sh
hack/lib/golang.sh
+14
-6
No files found.
hack/lib/golang.sh
View file @
c6e79167
...
...
@@ -158,11 +158,20 @@ readonly KUBE_TEST_PORTABLE=(
# need to target server platforms.
# These binaries will be distributed in the kubernetes-test tarball.
# If you update this list, please also update build/release-tars/BUILD.
readonly
KUBE_TEST_SERVER_TARGETS
=(
cmd/kubemark
vendor/github.com/onsi/ginkgo/ginkgo
test
/e2e_node/e2e_node.test
)
kube::golang::server_test_targets
()
{
local
targets
=(
cmd/kubemark
vendor/github.com/onsi/ginkgo/ginkgo
)
if
[[
"
${
OSTYPE
:-}
"
==
"linux"
*
]]
;
then
targets+
=(
test
/e2e_node/e2e_node.test
)
fi
echo
"
${
targets
[@]
}
"
}
readonly
KUBE_TEST_SERVER_TARGETS
=(
$(
kube::golang::server_test_targets
)
)
readonly
KUBE_TEST_SERVER_BINARIES
=(
"
${
KUBE_TEST_SERVER_TARGETS
[@]##*/
}
"
)
readonly
KUBE_TEST_SERVER_PLATFORMS
=(
"
${
KUBE_SERVER_PLATFORMS
[@]
}
"
)
...
...
@@ -487,7 +496,6 @@ kube::golang::build_binaries_for_platform() {
V
=
2 kube::log::info
"Env for
${
platform
}
: GOOS=
${
GOOS
-
}
GOARCH=
${
GOARCH
-
}
GOROOT=
${
GOROOT
-
}
CGO_ENABLED=
${
CGO_ENABLED
-
}
CC=
${
CC
-
}
GO=
${
GO
}
"
for
binary
in
"
${
binaries
[@]
}
"
;
do
if
[[
"
${
binary
}
"
=
~
".test"
$
]]
;
then
tests+
=(
$binary
)
elif
kube::golang::is_statically_linked_library
"
${
binary
}
"
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment