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
|
Name: json-c
|
||||||
Version: 0.14
|
Version: 0.14
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: JSON implementation in C
|
Summary: JSON implementation in C
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -103,9 +103,10 @@ cp -a %{_vpath_builddir}/doc/html ChangeLog README README.* \
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd %{_vpath_builddir}
|
USE_VALGRIND=0 %make_build -C %{_vpath_builddir} test
|
||||||
ctest %{_smp_mflags} --output-on-failure
|
%ifarch %{valgrind_arches}
|
||||||
popd
|
USE_VALGRIND=1 %make_build -C %{_vpath_builddir} test
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
@ -135,6 +136,9 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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 a test
|
||||||
- Add a patch to fix generation of user-documentation
|
- Add a patch to fix generation of user-documentation
|
||||||
|
Loading…
Reference in New Issue
Block a user