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
5f0dbfc0
Commit
5f0dbfc0
authored
May 01, 2015
by
Alex Robinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7596 from a-robinson/hack
Make hack/test-go.sh friendlier to OS X bash by not using a -1 array index
parents
dc137a47
1bb76633
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
test-go.sh
hack/test-go.sh
+3
-1
No files found.
hack/test-go.sh
View file @
5f0dbfc0
...
...
@@ -207,12 +207,14 @@ reportCoverageToCoveralls() {
# Convert the CSV to an array of API versions to test
IFS
=
','
read
-a
apiVersions
<<<
"
${
KUBE_TEST_API_VERSIONS
}
"
ETCD_PREFIX
=
${
ETCD_STANDARD_PREFIX
}
LAST_API_VERSION
=
""
for
apiVersion
in
"
${
apiVersions
[@]
}
"
;
do
echo
"Running tests for APIVersion:
$apiVersion
"
LAST_API_VERSION
=
$apiVersion
KUBE_API_VERSION
=
"
${
apiVersion
}
"
ETCD_PREFIX
=
${
ETCD_STANDARD_PREFIX
}
runTests
"
$@
"
done
echo
"Using custom etcd path prefix:
${
ETCD_CUSTOM_PREFIX
}
"
KUBE_API_VERSION
=
"
${
apiVersions
[-1]
}
"
ETCD_PREFIX
=
${
ETCD_CUSTOM_PREFIX
}
runTests
"
$@
"
KUBE_API_VERSION
=
"
${
LAST_API_VERSION
}
"
ETCD_PREFIX
=
${
ETCD_CUSTOM_PREFIX
}
runTests
"
$@
"
# We might run the tests for multiple versions, but we want to report only
# one of them to coveralls. Here we report coverage from the last run.
...
...
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