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
fafd1df7
Commit
fafd1df7
authored
Apr 20, 2015
by
Jeff Grafton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Continue after failed unit test"
This reverts commit
f70752d9
. This change caused Travis and Shippable to report success on all test runs, even if any tests failed or timed out.
parent
4e811201
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test-go.sh
hack/test-go.sh
+2
-2
No files found.
hack/test-go.sh
View file @
fafd1df7
...
@@ -151,7 +151,7 @@ runTests() {
...
@@ -151,7 +151,7 @@ runTests() {
if
[[
!
${
KUBE_COVER
}
=
~ ^[yY]
$
]]
;
then
if
[[
!
${
KUBE_COVER
}
=
~ ^[yY]
$
]]
;
then
kube::log::status
"Running unit tests without code coverage"
kube::log::status
"Running unit tests without code coverage"
go
test
"
${
goflags
[@]
:+
${
goflags
[@]
}}
"
\
go
test
"
${
goflags
[@]
:+
${
goflags
[@]
}}
"
\
${
KUBE_RACE
}
${
KUBE_TIMEOUT
}
"
${
@+
${
@/#/
${
KUBE_GO_PACKAGE
}
/
}}
"
||
true
${
KUBE_RACE
}
${
KUBE_TIMEOUT
}
"
${
@+
${
@/#/
${
KUBE_GO_PACKAGE
}
/
}}
"
return
0
return
0
fi
fi
...
@@ -173,7 +173,7 @@ runTests() {
...
@@ -173,7 +173,7 @@ runTests() {
-cover
-covermode
=
"
${
KUBE_COVERMODE
}
"
\
-cover
-covermode
=
"
${
KUBE_COVERMODE
}
"
\
-coverprofile
=
"
${
cover_report_dir
}
/{}/
${
cover_profile
}
"
\
-coverprofile
=
"
${
cover_report_dir
}
/{}/
${
cover_profile
}
"
\
"
${
cover_params
[@]+
${
cover_params
[@]
}}
"
\
"
${
cover_params
[@]+
${
cover_params
[@]
}}
"
\
"
${
KUBE_GO_PACKAGE
}
/{}"
||
true
"
${
KUBE_GO_PACKAGE
}
/{}"
COMBINED_COVER_PROFILE
=
"
${
cover_report_dir
}
/combined-coverage.out"
COMBINED_COVER_PROFILE
=
"
${
cover_report_dir
}
/combined-coverage.out"
{
{
...
...
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