Run the testssuite with valgrind on %%valgrind_arches
This commit is contained in:
parent
00ec3b1130
commit
44b7022497
12
json-c.spec
12
json-c.spec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user