]> OCCT Git - occt.git/commitdiff
Testing - Fix loading order of OCAF and XDE in bug tests #265
authordpasukhi <dpasukhi@opencascade.com>
Fri, 17 Jan 2025 18:34:14 +0000 (18:34 +0000)
committerdpasukhi <dpasukhi@opencascade.com>
Fri, 17 Jan 2025 18:34:14 +0000 (18:34 +0000)
GNU compiler have some optimization leads to multiple definitions
  of static global objects.
In case of static linking there are no possible issues, but in case of plug-in
  application can have multiple definitions of single object.

tests/bugs/moddata_3/bug31136_4
tests/bugs/moddata_3/bug31136_5
tests/bugs/xde/begin

index 5a8dc3060af7f28c6705cf7aae2771e1bb09cb90..e68b41fa73dd67c2d9a94898589821c9715d15c8 100644 (file)
@@ -3,7 +3,7 @@ puts "0031136: BinXCAF persistence loses normals from triangulation-only Faces"
 puts "=========="
 puts ""
 
-pload MODELING XDE OCAF VISUALIZATION
+pload MODELING OCAF XDE VISUALIZATION
 source $env(CSF_OCCTSamplesPath)/tcl/cad.tcl
 trinfo res
 wavefront res $imagedir/${test_image}
index 8df910c06067343fbcab4b395e0ca737b72d0ba4..8bb3c9d9b3f788f086c93fab854f4d4a959942db 100644 (file)
@@ -3,7 +3,7 @@ puts "0031136: BinXCAF persistence loses normals from triangulation-only Faces"
 puts "=========="
 puts ""
 
-pload XDE OCAF
+pload OCAF XDE
 
 StoreTriangulation 1 -normals
 set res [StoreTriangulation -getnormals]
index e5cf220f8b154b200f0ab67e8d867332cfc7ec54..b9ffde566c9bc41651c59f64a83b9139c1990da4 100755 (executable)
@@ -1,3 +1,3 @@
-pload XDE
+pload OCAF XDE
 
 set subgroup xde