From 44b7022497298989bdb7a0e11ebe65975c8bd6a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Mon, 25 May 2020 12:46:41 +0200 Subject: [PATCH] Run the testssuite with valgrind on %%valgrind_arches --- json-c.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/json-c.spec b/json-c.spec index b85b249..50efe44 100644 --- a/json-c.spec +++ b/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 - 0.14-5 +- Run the testssuite with valgrind on %%valgrind_arches + * Mon May 18 2020 Björn Esser - 0.14-4 - Add a patch to fix a test - Add a patch to fix generation of user-documentation