gjdwebserver-overlay/sci-astronomy/stellarium/files/stellarium-0.20.2-disable-x86-test.patch
Gerben Jan Dijkman 30ff39d3ba Added
2021-04-24 17:56:28 +02:00

25 lines
834 B
Diff

Disable broken tests on x86
https://github.com/Stellarium/stellarium/issues/1153
--- a/src/tests/testConversions.cpp 2020-08-09 23:29:34.794246024 +0100
+++ b/src/tests/testConversions.cpp 2020-08-09 23:30:30.441851564 +0100
@@ -942,6 +942,7 @@ void TestConversions::testVec3fToHtmlCol
}
void TestConversions::testVec3dToHtmlColor()
{
+ return;
QVariantList data;
data << "#FFFFFF" << 1. << 1. << 1.;
--- a/src/tests/testStelSphereGeometry.cpp 2020-08-09 23:32:43.940770728 +0100
+++ b/src/tests/testStelSphereGeometry.cpp 2020-08-09 23:33:06.671154228 +0100
@@ -309,6 +309,7 @@ void TestStelSphericalGeometry::testEnla
void TestStelSphericalGeometry::testSphericalPolygon()
{
+ return;
SphericalRegionP holySquare2 = bigSquare.getSubtraction(smallSquare);
QCOMPARE(holySquare2->getArea(), holySquare.getArea());