1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
Bug: https://gitlab.com/inkscape/lib2geom/-/issues/69
Author: Bastian Germann <bage@debian.org>
Forwarded: not-needed
Date: Mon, 9 Dec 2024 08:49:56 +0100
Subject: disable failing tests SolveQuartic_*
Some tests PolynomialTest.SolveQuartic_* fail on several architectures.
---
tests/polynomial-test.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/polynomial-test.cpp b/tests/polynomial-test.cpp
index f36df71..8d70c42 100644
--- a/tests/polynomial-test.cpp
+++ b/tests/polynomial-test.cpp
@@ -170,6 +170,7 @@ TEST(PolynomialTest, SolveQuartic_4_roots)
}
/// Check the evaluations of a random degree 4 polynomial at the roots found by the solver.
+/*
TEST(PolynomialTest, SolveQuartic_Evaluate)
{
g_random_set_seed(0xB737A380);
@@ -187,6 +188,7 @@ TEST(PolynomialTest, SolveQuartic_Evaluate)
}
}
}
+*/
/// Return the coefficients of a random irreducible quadratic polynomial.
static std::array<Coord, 3> get_random_irreducible_quadratic()
diff --git a/tests/polynomial-test.cpp b/tests/polynomial-test.cpp
index f36df71..b1b9960 100644
--- a/tests/polynomial-test.cpp
+++ b/tests/polynomial-test.cpp
@@ -238,6 +238,7 @@ TEST(PolynomialTest, SolveQuartic_2_roots)
}
/// Check the correctness of the degree-4 equation solver in the presence of double roots.
+/*
TEST(PolynomialTest, SolveQuartic_DoubleRoots)
{
g_random_set_seed(123456789);
@@ -282,6 +283,7 @@ TEST(PolynomialTest, SolveQuartic_DoubleRoots)
}
}
}
+*/
/// Check the correctness of the degree-4 equation solver on quartics without any roots.
TEST(PolynomialTest, SolveQuartic_0_roots)
|