summaryrefslogtreecommitdiffstats
path: root/debian/patches/skip-EllipticalArcTest.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:57:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:57:42 +0000
commite58102c63de2c3a8b32a85b5cb08626835c0558c (patch)
treef1cd9e68bbb4dd8d3e02fd1b1d90fcc5a2a3c75d /debian/patches/skip-EllipticalArcTest.patch
parentAdding upstream version 1.3. (diff)
downloadlib2geom-8d758599b373a8c48f0fad7e46e831d941be6292.tar.xz
lib2geom-8d758599b373a8c48f0fad7e46e831d941be6292.zip
Adding debian version 1.3-2.debian/1.3-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/skip-EllipticalArcTest.patch')
-rw-r--r--debian/patches/skip-EllipticalArcTest.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/patches/skip-EllipticalArcTest.patch b/debian/patches/skip-EllipticalArcTest.patch
new file mode 100644
index 0000000..0773982
--- /dev/null
+++ b/debian/patches/skip-EllipticalArcTest.patch
@@ -0,0 +1,28 @@
+Description: disable failing tests
+ Upstread said that this test is giving out false-positives where it passes
+Bug: https://gitlab.com/inkscape/lib2geom/-/issues/63#note_1526186398
+Author: Mattia Rizzolo <mattia@debian.org>
+Forwarded: not-needed
+Last-Update: 2023-09-09
+
+--- a/tests/elliptical-arc-test.cpp
++++ b/tests/elliptical-arc-test.cpp
+@@ -178,6 +178,10 @@
+ }
+ }
+
++
++/*
++ * tests disabled as per:
++ * https://gitlab.com/inkscape/lib2geom/-/issues/63#note_1526186398
+ TEST(EllipticalArcTest, ArcIntersection) {
+ std::vector<CurveIntersection> r1, r2;
+
+@@ -226,6 +230,7 @@
+ EXPECT_DOUBLE_EQ(left_pt.first, 1.0); // Expect (-1, 0) reached at the end of upper
+ EXPECT_DOUBLE_EQ(left_pt.second, 0.0); // Expect (-1, 0) passed at the start of lower
+ }
++*/
+
+ TEST(EllipticalArcTest, BezierIntersection) {
+ std::vector<CurveIntersection> r1, r2;