disable valgrind in tests

This commit is contained in:
sherlock2010 2023-06-10 07:54:19 +00:00
parent f8757821a8
commit 65420bab7e

View File

@ -6,7 +6,7 @@
Name: curl Name: curl
Version: 7.88.1 Version: 7.88.1
Release: 3 Release: 4
Summary: Curl is used in command lines or scripts to transfer data Summary: Curl is used in command lines or scripts to transfer data
License: MIT License: MIT
URL: https://curl.haxx.se/ URL: https://curl.haxx.se/
@ -41,12 +41,6 @@ BuildRequires: perl(Time::Local) perl(Time::HiRes) perl(vars) perl(Digest::SHA)
BuildRequires: stunnel BuildRequires: stunnel
%endif %endif
%ifarch x86_64
BuildRequires: valgrind
# glibc-debuginfo is needed by valgrind in upstream test-suite
BuildRequires: glibc-debuginfo
%endif
Requires: libcurl = %{version}-%{release} Requires: libcurl = %{version}-%{release}
Provides: curl-full = %{version}-%{release} webclient Provides: curl-full = %{version}-%{release} webclient
@ -157,7 +151,7 @@ for size in full; do (
export LD_LIBRARY_PATH="${PWD}/lib/.libs" export LD_LIBRARY_PATH="${PWD}/lib/.libs"
cd tests cd tests
perl -I../../tests ../../tests/runtests.pl -a -p -v '!flaky' perl -I../../tests ../../tests/runtests.pl -a -n -p -v '!flaky'
) )
done done
@ -216,6 +210,12 @@ rm -rf ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Sat Jun 10 2023 zhouyihang <zhouyihang3@h-partners.com> - 7.88.1-4
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:disable valgrind in tests
* Thu Jun 08 2023 xingwei <xingwei14@h-partners.com> - 7.88.1-3 * Thu Jun 08 2023 xingwei <xingwei14@h-partners.com> - 7.88.1-3
- Type:CVE - Type:CVE
- CVE:CVE-2023-28320,CVE-2023-28321,CVE-2023-28322 - CVE:CVE-2023-28320,CVE-2023-28321,CVE-2023-28322