Disable failing FEM test case TestSolverCalculix
authorTobias Frost <tobi@debian.org>
Sat, 25 May 2024 14:11:03 +0000 (16:11 +0200)
committerTobias Frost <tobi@debian.org>
Sat, 25 May 2024 14:11:03 +0000 (16:11 +0200)
Bug: https://github.com/FreeCAD/FreeCAD/issues/7188
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017598
Forwarded: not-needed, Debian specific.
Last-Update: 2022-08-18

The upstream bug tracker suggests that this is a problem with the test, as it seems
floats for the input are very similiar, only differing by the LSB.

This patch disables the test.
Last-Update: 2022-08-18
Gbp-Pq: Name 2030-fix-1017598.patch

src/Mod/Fem/femtest/app/test_solver_calculix.py

index 184ad52d652c2592fee1469acb6a7d149aa1617d..f527c5ac942baec2b0030d77f1d37b60e26b2c29 100644 (file)
@@ -270,12 +270,13 @@ class TestSolverCalculix(unittest.TestCase):
         self.input_file_writing_test(get_namefromdef("test_"))
 
     # ********************************************************************************************
-    def test_constraint_transform_torque(
-        self
-    ):
-        from femexamples.constraint_transform_torque import setup
-        setup(self.document, "calculix")
-        self.input_file_writing_test(get_namefromdef("test_"))
+    # disabled, #1017598
+    #def test_constraint_transform_torque(
+    #    self
+    #):
+    #    from femexamples.constraint_transform_torque import setup
+    #    setup(self.document, "calculix")
+    #    self.input_file_writing_test(get_namefromdef("test_"))
 
     # ********************************************************************************************
     def test_frequency_beamsimple(