Temporarily disable crypto tests on ppc64le

Related: rhbz#2109180
This commit is contained in:
David Benoit 2022-08-16 15:32:55 -04:00
parent 35eb386c3a
commit 2ba5ee5865
1 changed files with 10 additions and 1 deletions

View File

@ -101,7 +101,7 @@
Name: golang Name: golang
Version: %{go_version} Version: %{go_version}
Release: 2%{?dist} Release: 3%{?dist}
Summary: The Go Programming Language Summary: The Go Programming Language
# source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain # source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
License: BSD and Public Domain License: BSD and Public Domain
@ -436,6 +436,9 @@ export GO_TEST_RUN=""
./run.bash --no-rebuild -v -v -v -k $GO_TEST_RUN ./run.bash --no-rebuild -v -v -v -k $GO_TEST_RUN
# tests timeout on ppc64le due to
# https://bugzilla.redhat.com/show_bug.cgi?id=2118776
%ifnarch ppc64le
export OPENSSL_FORCE_FIPS_MODE=1 export OPENSSL_FORCE_FIPS_MODE=1
# Run tests with FIPS enabled. # Run tests with FIPS enabled.
pushd crypto pushd crypto
@ -448,6 +451,8 @@ popd
pushd crypto/tls pushd crypto/tls
GOLANG_FIPS=1 go test -v -run "Boring" GOLANG_FIPS=1 go test -v -run "Boring"
popd popd
%endif
%else %else
./run.bash --no-rebuild -v -v -v -k || : ./run.bash --no-rebuild -v -v -v -k || :
%endif %endif
@ -509,6 +514,10 @@ cd ..
%endif %endif
%changelog %changelog
* Tue Aug 16 2022 David Benoit <dbenoit@redhat.com> - 1.18.4-3
- Temporarily disable crypto tests on ppc64le
- Related: rhbz#2109180
* Wed Aug 10 2022 Alejandro Sáez <asm@redhat.com> - 1.18.4-2 * Wed Aug 10 2022 Alejandro Sáez <asm@redhat.com> - 1.18.4-2
- Update to Go 1.18.4 - Update to Go 1.18.4
- Resolves: rhbz#2109180 - Resolves: rhbz#2109180