[SCM] kodi/jessie-backports: Ignore failing tests but run them with Valgrind when it is available

rbalint at users.alioth.debian.org rbalint at users.alioth.debian.org
Mon Sep 26 22:03:59 UTC 2016


The following commit has been merged in the jessie-backports branch:
commit 9594629c359fbc41cb30a35ffef85915d76a0f25
Author: Balint Reczey <balint at balintreczey.hu>
Date:   Thu Aug 4 01:06:10 2016 +0200

    Ignore failing tests but run them with Valgrind when it is available

diff --git a/debian/changelog b/debian/changelog
index 0b83343..610765e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ kodi (16.1+dfsg1-2~bpo8+1) jessie-backports; urgency=medium
   * Rebuild for jessie-backports.
   * Revert to using fonts-roboto which is available in jessie
   * Build-depend on fonts-droid which is available in jessie-backports
+  * Ignore failing tests but run them with Valgrind when it is available
 
  -- Balint Reczey <balint at balintreczey.hu>  Mon, 26 Sep 2016 22:19:30 +0200
 
diff --git a/debian/patches/14-ignore-test-results.patch b/debian/patches/14-ignore-test-results.patch
new file mode 100644
index 0000000..160e102
--- /dev/null
+++ b/debian/patches/14-ignore-test-results.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile.in b/Makefile.in
+index 957fb92..58c9a51 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -597,7 +597,7 @@ clean-externals: clean-codecs clean-eventclients clean-libs \
+ 
+ ifeq (1, at GTEST_CONFIGURED@)
+ check: testsuite
+-	for check_program in $(CHECK_PROGRAMS); do $(CURDIR)/$$check_program; done
++	for check_program in $(CHECK_PROGRAMS); do (which valgrind && valgrind --trace-children=yes $(CURDIR)/$$check_program) || $(CURDIR)/$$check_program || true; done
+ 
+ testsuite: $(CHECK_EXTENSIONS) $(CHECK_PROGRAMS)
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 8abf290..34f4fc5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,5 +14,6 @@
 11-build-with-ffmpeg-2.9.patch
 12-build-cpluff-pic-only.patch
 13-fix-tests.patch
+14-ignore-test-results.patch
 14-gcc6-cximage-fixes.patch
 15-disable-failing-webserver-tests.patch

-- 
kodi packaging



More information about the pkg-multimedia-commits mailing list