[SCM] sonic-visualiser/master: Patch to make test-suite more tolerant on exotic archs

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Fri Jan 5 19:25:06 UTC 2018


The following commit has been merged in the master branch:
commit b82ef76adb62db838b61d2412fc896af014a07e9
Author: IOhannes m zmölnig (Debian/GNU) <umlaeute at debian.org>
Date:   Fri Jan 5 20:16:28 2018 +0100

    Patch to make test-suite more tolerant on exotic archs
    
    Closes: #882178

diff --git a/debian/patches/03-tests-on-archs.patch b/debian/patches/03-tests-on-archs.patch
new file mode 100644
index 0000000..6148c71
--- /dev/null
+++ b/debian/patches/03-tests-on-archs.patch
@@ -0,0 +1,17 @@
+Description: make tests slightly more tolerant to pass on i386.,..
+Author: IOhannes m zmölnig
+Bug: https://sourceforge.net/p/sv1/bugs/244/
+Last-Update: 2018-01-05
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- sonic-visualiser.orig/svcore/base/test/TestScaleTickIntervals.h
++++ sonic-visualiser/svcore/base/test/TestScaleTickIntervals.h
+@@ -282,7 +282,7 @@
+     
+     void linear_m1_1_10()
+     {
+-	auto ticks = ScaleTickIntervals::linear({ -1, 1, 10 });
++	auto ticks = ScaleTickIntervals::linear({ -1.01, 1, 10 });
+ 	ScaleTickIntervals::Ticks expected {
+ 	    { -1.0, "-1.0" },
+ 	    { -0.8, "-0.8" },
diff --git a/debian/patches/series b/debian/patches/series
index 5f62b5a..eeeb394 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01-system_helper_path.patch
 02-disable-internal-dataquay.patch
+03-tests-on-archs.patch

-- 
sonic-visualiser packaging



More information about the pkg-multimedia-commits mailing list