Run the testssuite with valgrind on %%valgrind_arches

This commit is contained in:
Björn Esser 2020-05-25 12:46:41 +02:00
parent 00ec3b1130
commit 44b7022497

View File

@ -26,7 +26,7 @@
Name: json-c
Version: 0.14
Release: 4%{?dist}
Release: 5%{?dist}
Summary: JSON implementation in C
License: MIT
@ -103,9 +103,10 @@ cp -a %{_vpath_builddir}/doc/html ChangeLog README README.* \
%check
pushd %{_vpath_builddir}
ctest %{_smp_mflags} --output-on-failure
popd
USE_VALGRIND=0 %make_build -C %{_vpath_builddir} test
%ifarch %{valgrind_arches}
USE_VALGRIND=1 %make_build -C %{_vpath_builddir} test
%endif
%ldconfig_scriptlets
@ -135,6 +136,9 @@ popd
%changelog
* Mon May 25 2020 Björn Esser <besser82@fedoraproject.org> - 0.14-5
- Run the testssuite with valgrind on %%valgrind_arches
* Mon May 18 2020 Björn Esser <besser82@fedoraproject.org> - 0.14-4
- Add a patch to fix a test
- Add a patch to fix generation of user-documentation