forked from rpms/glibc
Run valgrind check with --error-exitcode=1. Fix valgrind BuildRequires.
This commit is contained in:
parent
76dd91f117
commit
05146e37a4
@ -294,7 +294,7 @@ BuildRequires: systemtap-sdt-devel
|
|||||||
%if %{with valgrind}
|
%if %{with valgrind}
|
||||||
# Require valgrind for smoke testing the dynamic loader to make sure we
|
# Require valgrind for smoke testing the dynamic loader to make sure we
|
||||||
# have not broken valgrind.
|
# have not broken valgrind.
|
||||||
BuildRequires: /usr/bin/valgrind
|
BuildRequires: valgrind
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# We use systemd rpm macros for nscd
|
# We use systemd rpm macros for nscd
|
||||||
@ -1865,7 +1865,8 @@ pushd build-%{target}
|
|||||||
LD_SHOW_AUXV=1 elf/ld.so --library-path .:elf:nptl:dlfcn /bin/true
|
LD_SHOW_AUXV=1 elf/ld.so --library-path .:elf:nptl:dlfcn /bin/true
|
||||||
|
|
||||||
%if %{with valgrind}
|
%if %{with valgrind}
|
||||||
elf/ld.so --library-path .:elf:nptl:dlfcn /usr/bin/valgrind \
|
elf/ld.so --library-path .:elf:nptl:dlfcn \
|
||||||
|
/usr/bin/valgrind --error-exitcode=1 \
|
||||||
elf/ld.so --library-path .:elf:nptl:dlfcn /usr/bin/true
|
elf/ld.so --library-path .:elf:nptl:dlfcn /usr/bin/true
|
||||||
%endif
|
%endif
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user