[Git][debian-gis-team/proj][experimental] 2 commits: Update upstream patch to fix test failures on mips64el.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Thu Feb 23 14:47:34 GMT 2023



Bas Couwenberg pushed to branch experimental at Debian GIS Project / proj


Commits:
c7be0f18 by Bas Couwenberg at 2023-02-23T15:11:06+01:00
Update upstream patch to fix test failures on mips64el.

- - - - -
a915a15e by Bas Couwenberg at 2023-02-23T15:12:28+01:00
Set distribution to experimental.

- - - - -


2 changed files:

- debian/changelog
- debian/patches/pr3633.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+proj (9.2.0~rc1-1~exp4) experimental; urgency=medium
+
+  * Update upstream patch to fix test failures on mips64el.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Thu, 23 Feb 2023 15:12:17 +0100
+
 proj (9.2.0~rc1-1~exp3) experimental; urgency=medium
 
   * Update upstream patch to fix test failures on arm/mips.


=====================================
debian/patches/pr3633.patch
=====================================
@@ -115,3 +115,148 @@ Bug: https://github.com/OSGeo/PROJ/issues/3632
                  "}";
      auto obj = createFromUserInput(json, nullptr);
      auto vrf = nn_dynamic_pointer_cast<VerticalReferenceFrame>(obj);
+--- a/test/unit/gie_self_tests.cpp
++++ b/test/unit/gie_self_tests.cpp
+@@ -1189,13 +1189,15 @@ TEST(gie, proj_create_crs_to_crs_from_pj
+ 
+         // Test a point along the equator.
+         // The same point, but in two different representations.
+-        input.xyz.x = 0;   // Lat in deg
+-        input.xyz.y = 140; // Long in deg
+-        input.xyz.z = 0;
+-
+-        input_over.xyz.x = 0;    // Lat in deg
+-        input_over.xyz.y = -220; // Long in deg
+-        input_over.xyz.z = 0;
++        input.xyzt.x = 0;   // Lat in deg
++        input.xyzt.y = 140; // Long in deg
++        input.xyzt.z = 0;
++        input.xyzt.t = HUGE_VAL;
++
++        input_over.xyzt.x = 0;    // Lat in deg
++        input_over.xyzt.y = -220; // Long in deg
++        input_over.xyzt.z = 0;
++        input_over.xyzt.t = HUGE_VAL;
+ 
+         auto output = proj_trans(P, PJ_FWD, input);
+         auto output_over = proj_trans(P, PJ_FWD, input_over);
+@@ -1230,9 +1232,10 @@ TEST(gie, proj_create_crs_to_crs_from_pj
+         ASSERT_TRUE(Pnormalized->over);
+ 
+         PJ_COORD input_over_normalized;
+-        input_over_normalized.xyz.x = -220; // Long in deg
+-        input_over_normalized.xyz.y = 0;    // Lat in deg
+-        input_over_normalized.xyz.z = 0;
++        input_over_normalized.xyzt.x = -220; // Long in deg
++        input_over_normalized.xyzt.y = 0;    // Lat in deg
++        input_over_normalized.xyzt.z = 0;
++        input_over_normalized.xyzt.t = HUGE_VAL;
+         auto output_over_normalized =
+             proj_trans(Pnormalized, PJ_FWD, input_over_normalized);
+         EXPECT_NEAR(output_over_normalized.xyz.x, -24490287.974520184, 1e-8);
+@@ -1253,13 +1256,15 @@ TEST(gie, proj_create_crs_to_crs_from_pj
+         PJ_COORD input;
+         PJ_COORD input_notOver;
+ 
+-        input.xyz.x = 0;   // Lat in deg
+-        input.xyz.y = 140; // Long in deg
+-        input.xyz.z = 0;
+-
+-        input_notOver.xyz.x = 0;    // Lat in deg
+-        input_notOver.xyz.y = -220; // Long in deg
+-        input_notOver.xyz.z = 0;
++        input.xyzt.x = 0;   // Lat in deg
++        input.xyzt.y = 140; // Long in deg
++        input.xyzt.z = 0;
++        input.xyzt.t = HUGE_VAL;
++
++        input_notOver.xyzt.x = 0;    // Lat in deg
++        input_notOver.xyzt.y = -220; // Long in deg
++        input_notOver.xyzt.z = 0;
++        input_notOver.xyzt.t = HUGE_VAL;
+ 
+         auto output = proj_trans(P, PJ_FWD, input);
+         auto output_notOver = proj_trans(P, PJ_FWD, input_notOver);
+@@ -1282,13 +1287,15 @@ TEST(gie, proj_create_crs_to_crs_from_pj
+         PJ_COORD input;
+         PJ_COORD input_notOver;
+ 
+-        input.xyz.x = 0;   // Lat in deg
+-        input.xyz.y = 140; // Long in deg
+-        input.xyz.z = 0;
+-
+-        input_notOver.xyz.x = 0;    // Lat in deg
+-        input_notOver.xyz.y = -220; // Long in deg
+-        input_notOver.xyz.z = 0;
++        input.xyzt.x = 0;   // Lat in deg
++        input.xyzt.y = 140; // Long in deg
++        input.xyzt.z = 0;
++        input.xyzt.t = HUGE_VAL;
++
++        input_notOver.xyzt.x = 0;    // Lat in deg
++        input_notOver.xyzt.y = -220; // Long in deg
++        input_notOver.xyzt.z = 0;
++        input_notOver.xyzt.t = HUGE_VAL;
+ 
+         auto output = proj_trans(P, PJ_FWD, input);
+         auto output_notOver = proj_trans(P, PJ_FWD, input_notOver);
+@@ -1313,13 +1320,15 @@ TEST(gie, proj_create_crs_to_crs_from_pj
+         PJ_COORD input;
+         PJ_COORD input_over;
+ 
+-        input.xyz.x = 0;   // Lat in deg
+-        input.xyz.y = 140; // Long in deg
+-        input.xyz.z = 0;
+-
+-        input_over.xyz.x = 0;    // Lat in deg
+-        input_over.xyz.y = -220; // Long in deg
+-        input_over.xyz.z = 0;
++        input.xyzt.x = 0;   // Lat in deg
++        input.xyzt.y = 140; // Long in deg
++        input.xyzt.z = 0;
++        input.xyzt.t = HUGE_VAL;
++
++        input_over.xyzt.x = 0;    // Lat in deg
++        input_over.xyzt.y = -220; // Long in deg
++        input_over.xyzt.z = 0;
++        input_over.xyzt.t = HUGE_VAL;
+ 
+         auto output = proj_trans(P, PJ_FWD, input);
+         auto output_over = proj_trans(P, PJ_FWD, input_over);
+@@ -1337,9 +1346,10 @@ TEST(gie, proj_create_crs_to_crs_from_pj
+         }
+ 
+         PJ_COORD input_over_normalized;
+-        input_over_normalized.xyz.x = -220; // Long in deg
+-        input_over_normalized.xyz.y = 0;    // Lat in deg
+-        input_over_normalized.xyz.z = 0;
++        input_over_normalized.xyzt.x = -220; // Long in deg
++        input_over_normalized.xyzt.y = 0;    // Lat in deg
++        input_over_normalized.xyzt.z = 0;
++        input_over_normalized.xyzt.t = HUGE_VAL;
+         auto output_over_normalized =
+             proj_trans(Pnormalized, PJ_FWD, input_over_normalized);
+         EXPECT_NEAR(output_over_normalized.xyz.x, 4980122.749364435, 1e-8);
+@@ -1360,13 +1370,15 @@ TEST(gie, proj_create_crs_to_crs_from_pj
+         PJ_COORD input;
+         PJ_COORD input_over;
+ 
+-        input.xyz.x = 0;   // Lat in deg
+-        input.xyz.y = 140; // Long in deg
+-        input.xyz.z = 0;
+-
+-        input_over.xyz.x = 0;    // Lat in deg
+-        input_over.xyz.y = -220; // Long in deg
+-        input_over.xyz.z = 0;
++        input.xyzt.x = 0;   // Lat in deg
++        input.xyzt.y = 140; // Long in deg
++        input.xyzt.z = 0;
++        input.xyzt.t = HUGE_VAL;
++
++        input_over.xyzt.x = 0;    // Lat in deg
++        input_over.xyzt.y = -220; // Long in deg
++        input_over.xyzt.z = 0;
++        input_over.xyzt.t = HUGE_VAL;
+ 
+         auto output = proj_trans(P, PJ_FWD, input);
+         auto output_over = proj_trans(P, PJ_FWD, input_over);



View it on GitLab: https://salsa.debian.org/debian-gis-team/proj/-/compare/4466e874c4596177ffc808db0ea51de1ebf18484...a915a15eff00a8774757232568c11cb1f938442a

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/proj/-/compare/4466e874c4596177ffc808db0ea51de1ebf18484...a915a15eff00a8774757232568c11cb1f938442a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20230223/526b2129/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list