Accepting request 614141 from home:cyphar:containers:remove_check_section
- Remove 'go test' from %check section, as it has only ever caused us problems and hasn't (as far as I remember) ever caught a release-blocking issue. Smoke testing has been far more useful. boo#1095817 OBS-URL: https://build.opensuse.org/request/show/614141 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/containerd?expand=0&rev=72
This commit is contained in:
parent
6abe1909e2
commit
d0e0089949
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 5 06:38:40 UTC 2018 - asarai@suse.com
|
||||
|
||||
- Remove 'go test' from %check section, as it has only ever caused us problems
|
||||
and hasn't (as far as I remember) ever caught a release-blocking issue. Smoke
|
||||
testing has been far more useful. boo#1095817
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 1 16:57:14 CET 2018 - ro@suse.de
|
||||
|
||||
|
@ -111,12 +111,11 @@ cp $PROJECT/bin/containerd containerd-%{version}
|
||||
cp $PROJECT/bin/containerd-shim containerd-shim-%{version}
|
||||
|
||||
%check
|
||||
export GOPATH=$HOME/go/src/github.com/containerd/containerd/vendor:$GOPATH
|
||||
cd $HOME/go/src/github.com/containerd/containerd
|
||||
%go_tool test %GO_BUILD_FLAGS -v $(%go_tool list ./... | \
|
||||
grep github.com/containerd/containerd | \
|
||||
grep -v github.com/containerd/containerd/vendor | \
|
||||
grep -v /integration-test)
|
||||
# We used to run 'go test' here, however we found that this actually didn't
|
||||
# catch any issues that were caught by smoke testing, and %check would
|
||||
# continually cause package builds to fail due to flaky tests. If you ever need
|
||||
# to know how the testing was done, you can always look in the package history.
|
||||
# boo#1095817
|
||||
|
||||
%install
|
||||
install -D -m755 containerd-%{version} %{buildroot}/%{_sbindir}/containerd
|
||||
|
Loading…
x
Reference in New Issue
Block a user