Install valgrind and langpacks to increase test coverage

This commit is contained in:
Paolo Bonzini 2024-01-30 11:08:03 +01:00
parent d25bb1b252
commit 1b82c7e44f
1 changed files with 8 additions and 3 deletions

View File

@ -16,6 +16,12 @@ BuildRequires: glibc-devel, libselinux-devel, libacl-devel, automake, autoconf,
BuildRequires: perl-Getopt-Long
BuildRequires: perl(FileHandle)
# for tests. More tests require a ja_JP locale, but glibc-langpack-ja gives:
# invalid-mb-seq-UMR.sh: skipped test: locale 'ja_JP' is buggy
# mb-charclass-non-utf8.sh: skipped test: ja_JP shift-jis locale not found
BuildRequires: glibc-langpack-el, glibc-langpack-en
BuildRequires: glibc-langpack-ru, valgrind
Provides: /bin/sed
#copylib
@ -31,9 +37,6 @@ specified in a script file or from the command line.
%prep
%autosetup -p1
sed -e 's/1729576/EPERM/' \
-i gnulib-tests/test-{strerror_r,perror2}.c
%build
%configure --without-included-regex
%make_build
@ -65,6 +68,8 @@ rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
- Rebase to 4.9
- Update downstream patches
- Resolves: rhbz#2140486
- Remove change to gnulib tests, they pass anyway
- Install valgrind and langpacks to increase test coverage
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.8-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild