Accepting request 569503 from home:michel_mno:branches:devel:libraries:c_c++

- ignore all test failures for PowerPC as bypass boo#1075219
  (not only the 1501 previously skipped)

OBS-URL: https://build.opensuse.org/request/show/569503
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=217
This commit is contained in:
2018-01-25 14:30:54 +00:00
committed by Git OBS Bridge
parent 64310a5fef
commit 6049d2010d
5 changed files with 63 additions and 9 deletions

View File

@@ -45,6 +45,7 @@ Source4: https://daniel.haxx.se/mykey.asc#/curl.keyring
Patch0: libcurl-ocloexec.patch
Patch1: dont-mess-with-rpmoptflags.diff
Patch2: curl-secure-getenv.patch
Patch3: ignore_runtests_failure.patch
BuildRequires: libtool
BuildRequires: pkgconfig
%if !0%{?bootstrap}
@@ -125,6 +126,9 @@ user interaction or any kind of interactivity.
%patch0
%patch1
%patch2
%ifarch ppc ppc64 ppc64le
%patch3 -p1
%endif
%build
# curl complains if macro definition is contained in CFLAGS
@@ -170,10 +174,6 @@ make %{?_smp_mflags} V=1
%if %{with testsuite}
%check
pushd tests
%ifarch ppc ppc64 ppc64le
echo "# disable 1501 for PowerPC bypass boo#1075219" >>data/DISABLED
echo "1501" >>data/DISABLED
%endif
make %{?_smp_mflags}
# make sure the testsuite runs don't race on MP machines in autobuild
if test -z "$BUILD_INCARNATION" -a -r /.buildenv; then