1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0032451: Tests - adjusting test cases with Improvement status on macOS arm64 platforms

- Load OPENGL draw plugin before using vcaps
- Skip optional VTK plugin on macOS within "oit" test
- Processing improvements
This commit is contained in:
bugmaster
2021-06-08 17:44:55 +03:00
parent 34270d6529
commit ae0de0e7f9
64 changed files with 82 additions and 153 deletions

View File

@@ -1,6 +1,3 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "==========="
puts "0022783: Improvement of BRepOffsetAPI_MakeFilling: keep old and new boundary edges with all pcurves"
puts "==========="

View File

@@ -1,6 +1,3 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "============"
puts "0022786: 64bit issue in AdvApp2Var"
puts "============"

View File

@@ -2,7 +2,6 @@ puts "============"
puts "CR23367"
puts "============"
puts ""
puts "TODO OCC24156 MacOS: Error : The length of result shape is"
##########################################################################################################
# New functionality restoring the middle path of pipe-like shape
##########################################################################################################

View File

@@ -1,6 +1,3 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
pload QAcommands
puts "========"

View File

@@ -1,6 +1,3 @@
puts "TODO OCC24156 MacOS: Tcl Exception"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "========================"
puts " OCC474 "
puts "========================"

View File

@@ -1,7 +1,3 @@
puts "TODO OCC24156 MacOS: Faulty OCC485: function BLEND works wrongly"
puts "TODO OCC24156 MacOS: Tcl Exception: result is not a topological shape!!!"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "========================"
puts " OCC487 "
puts "========================"

View File

@@ -1,6 +1,3 @@
puts "TODO OCC24156 MacOS: Tcl Exception: tolerance ang"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "========================"
puts "OCC625"
puts "========================"

View File

@@ -1,6 +1,3 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: OCC8842: Faulty"
puts "============"
puts "00008842: E r r o r s in Offset Shape algorithm working with bspline and surface of revolution"
puts "============"

View File

@@ -1,6 +1,3 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: OCC8842: Faulty"
puts "============"
puts "00008842: E r r o r s in Offset Shape algorithm working with bspline and surface of revolution"
puts "============"

View File

@@ -1,7 +1,5 @@
puts "TODO OCC25913 ALL: Error : is WRONG because number of"
puts "TODO OCC25913 ALL: Error : The area of result shape is"
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: OCC8842: Faulty"
puts "============"
puts "00008842: E r r o r s in Offset Shape algorithm working with bspline and surface of revolution"

View File

@@ -1,6 +1,3 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "============"
puts "0023870: Integration of new options of sweeping into BRepOffsetAPI_MakePipe algorithm"
puts "============"

View File

@@ -1,6 +1,3 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "============"
puts "0023870: Integration of new options of sweeping into BRepOffsetAPI_MakePipe algorithm"
puts "============"

View File

@@ -1,6 +1,3 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "============"
puts "0023870: Integration of new options of sweeping into BRepOffsetAPI_MakePipe algorithm"
puts "============"

View File

@@ -1,6 +1,3 @@
puts "TODO OCC24156 MacOS: Tcl Exception: compute of chamfer failed"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "================"
puts "OCC266"
puts "================"

View File

@@ -1,6 +1,3 @@
puts "TODO OCC24156 MacOS: \\*\\*\\* Abort"
puts "TODO OCC24156 MacOS: ... The exception is"
puts "========================"
puts "BUC60948"
puts "========================"

View File

@@ -1,5 +1,3 @@
puts "TODO OCC26174 ALL: ERROR: OCC26174 is reproduced."
puts "========"
puts "OCC26174"
puts "========"

View File

@@ -5,5 +5,5 @@ set chamf_dist_dist [list "0.05 0.05" "0.05 0.09" "0.1 0.08"]
set chamf_equal_dist [list "0.05 " "0.05 " "0.2 "]
if { [string compare $command chamf_sequence] == 0 && [string compare $group equal_dist] == 0 } {
puts "TODO OCC22909 ALL:Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC24156 MacOS: chamfer is not done. compute of chamfer failed"
# puts "TODO OCC24156 MacOS: chamfer is not done. compute of chamfer failed"
}

View File

@@ -8,14 +8,14 @@ if { [string compare $command chamf] == 0 } {
puts "TODO OCC22909 All: compute of chamfer failed"
}
} else {
if {[string compare $group dist_angle] == 0} {
puts "TODO OCC22909 MacOS: compute of chamfer failed"
}
if {[string compare $group dist_dist] == 0} {
puts "TODO OCC22909 MacOS: compute of chamfer failed"
}
# if {[string compare $group dist_angle] == 0} {
# puts "TODO OCC22909 MacOS: compute of chamfer failed"
# }
# if {[string compare $group dist_dist] == 0} {
# puts "TODO OCC22909 MacOS: compute of chamfer failed"
# }
if {[string compare $group equal_dist] == 0} {
puts "TODO OCC22909 ALL:Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC22909 MacOS: compute of chamfer failed"
# puts "TODO OCC22909 MacOS: compute of chamfer failed"
}
}

View File

@@ -10,12 +10,12 @@ if { [string compare $command chamf] == 0 } {
} else {
if {[string compare $group dist_angle] == 0} {
puts "TODO OCC22909 All:Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC24156 MacOS: compute of chamfer failed"
}
if {[string compare $group dist_dist] == 0} {
puts "TODO OCC24156 MacOS: compute of chamfer failed"
}
if {[string compare $group equal_dist] == 0} {
puts "TODO OCC24156 MacOS: compute of chamfer failed"
# puts "TODO OCC24156 MacOS: compute of chamfer failed"
}
# if {[string compare $group dist_dist] == 0} {
# puts "TODO OCC24156 MacOS: compute of chamfer failed"
# }
# if {[string compare $group equal_dist] == 0} {
# puts "TODO OCC24156 MacOS: compute of chamfer failed"
# }
}

View File

@@ -6,15 +6,10 @@ set chamf_equal_dist [list "0.1 " " 0.2 "]
if { [string compare $command chamf] == 0 } {
puts "TODO OCC22909 All: compute of chamfer failed"
} else {
if {[string compare $group dist_angle] == 0} {
puts "TODO OCC22909 MacOS: compute of chamfer failed"
} else {
if {[string compare $group dist_dist] == 0} {
puts "TODO OCC22909 ALL:Faulty shapes in variables faulty_1 to faulty_"
}
if {[string compare $group dist_dist] == 0} {
puts "TODO OCC22909 MacOS: compute of chamfer failed"
}
if {[string compare $group equal_dist] == 0} {
puts "TODO OCC22909 MacOS: compute of chamfer failed"
puts "TODO OCC22909 ALL:Faulty shapes in variables faulty_1 to faulty_"
}
}

View File

@@ -25,16 +25,16 @@ if { [string compare $command chamf_sequence] == 0 } {
if { [checkplatform -osx] } {
if { [string compare $group dist_dist] == 0 } {
puts "TODO OCC24156 MacOS: chamfer is not done. compute of chamfer failed"
# puts "TODO OCC24156 MacOS: chamfer is not done. compute of chamfer failed"
set nf 8
}
if { [string compare $group equal_dist] == 0 } {
puts "TODO OCC24156 MacOS: chamfer is not done. compute of chamfer failed"
# puts "TODO OCC24156 MacOS: chamfer is not done. compute of chamfer failed"
set nf 2
}
if { [string compare $group dist_angle] == 0 } {
puts "TODO OCC24156 MacOS: chamfer is not done. compute of chamfer failed"
}
# if { [string compare $group dist_angle] == 0 } {
# puts "TODO OCC24156 MacOS: chamfer is not done. compute of chamfer failed"
# }
}
if { $nf != 0 } {

View File

@@ -1,4 +1,4 @@
pload XDE OCAF MODELING VISUALIZATION
Close D -silent
# PBR requires OpenGL 3.0+ on macOS
if { $::tcl_platform(os) == "Darwin" } { vcaps -core }
if { $::tcl_platform(os) == "Darwin" } { vdriver -load OPENGL; vcaps -core }

View File

@@ -1,4 +1,4 @@
pload XDE OCAF MODELING VISUALIZATION
Close D -silent
# PBR requires OpenGL 3.0+ on macOS
if { $::tcl_platform(os) == "Darwin" } { vcaps -core }
if { $::tcl_platform(os) == "Darwin" } { vdriver -load OPENGL; vcaps -core }

View File

@@ -1,4 +1,4 @@
pload XDE OCAF MODELING VISUALIZATION
Close D -silent
# PBR requires OpenGL 3.0+ on macOS
if { $::tcl_platform(os) == "Darwin" } { vcaps -core }
if { $::tcl_platform(os) == "Darwin" } { vdriver -load OPENGL; vcaps -core }

View File

@@ -1,3 +1 @@
puts "TODO OCC24156 MacOS: Faulty shapes in variables faulty_1 to faulty_"
restore [locate_data_file CTO900_pro5363c.rle] a

View File

@@ -1,6 +1,5 @@
if { [info exists bug23197] == 0 || $bug23197 == 0 } {
puts "TODO OCC23127 ALL: Faulty shapes in variables faulty_1 to faulty_2"
}
puts "TODO OCC24156 MacOS: Faulty shapes in variables faulty_1 to faulty_"
restore [locate_data_file rrr.rle] a

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
ellipse w1 0 0 0 15 10
mkedge w1 w1 0 pi/2

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "TODO OCC23748 ALL: ERROR. offsetperform operation not done."
puts "TODO OCC23748 ALL: Error: The command cannot be built"
puts "TODO OCC26556 ALL: Error : The offset cannot be built."

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "TODO OCC23748 ALL: ERROR. offsetperform operation not done."
puts "TODO OCC23748 ALL: Error: The command cannot be built"
puts "TODO OCC26556 ALL: Error : The offset cannot be built."

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "TODO OCC23748 ALL: ERROR. offsetperform operation not done."
puts "TODO OCC23748 ALL: Error: The command cannot be built"
puts "TODO OCC26556 ALL: Error : The offset cannot be built."

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "TODO OCC23748 ALL: ERROR. offsetperform operation not done."
puts "TODO OCC23748 ALL: Error: The command cannot be built"
puts "TODO OCC26556 ALL: Error : The offset cannot be built."

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "TODO OCC23748 ALL: ERROR. offsetperform operation not done."
puts "TODO OCC23748 ALL: Error: The command cannot be built"
puts "TODO OCC26556 ALL: Error : The offset cannot be built."

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "TODO OCC23748 ALL: ERROR. offsetperform operation not done."
puts "TODO OCC23748 ALL: Error: The command cannot be built"
puts "TODO OCC26556 ALL: Error : The offset cannot be built."

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "TODO OCC23748 ALL: ERROR. offsetperform operation not done."
puts "TODO OCC23748 ALL: Error: The command cannot be built"
puts "TODO OCC26556 ALL: Error : The offset cannot be built."

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
ellipse w1 0 0 0 15 10
mkedge w1 w1 0 pi/2

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
bsplinecurve w1 3 2 -1.0 4 1.0 4 0 0 0 1 2 10 0 1 4 6 0 1 10 0 0 1
mkedge w1 w1

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
bsplinecurve w1 3 2 -1.0 4 1.0 4 0 0 0 1 2 10 0 1 4 6 0 1 10 0 0 1
mkedge w1 w1

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
bsplinecurve w1 3 2 -1.0 4 1.0 4 0 0 0 1 2 10 0 1 4 6 0 1 10 0 0 1
mkedge w1 w1

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
bsplinecurve w1 3 2 -1.0 4 1.0 4 0 0 0 1 2 10 0 1 4 6 0 1 10 0 0 1
mkedge w1 w1

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
bsplinecurve w1 3 2 -1.0 4 1.0 4 0 0 0 1 2 10 0 1 4 6 0 1 10 0 0 1
mkedge w1 w1

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
bsplinecurve w1 3 2 -1.0 4 1.0 4 0 0 0 1 2 10 0 1 4 6 0 1 10 0 0 1
mkedge w1 w1

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
beziercurve w1 5 0 0 0 20 0 0 20 5 0 25 10 0 10 20 0
mkedge w1 w1

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
beziercurve w1 5 0 0 0 20 0 0 20 5 0 25 10 0 10 20 0
mkedge w1 w1

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
beziercurve w1 5 0 0 0 20 0 0 20 5 0 25 10 0 10 20 0
mkedge w1 w1

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
beziercurve w1 5 0 0 0 20 0 0 20 5 0 25 10 0 10 20 0
mkedge w1 w1

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
beziercurve w1 5 0 0 0 20 0 0 20 5 0 25 10 0 10 20 0
mkedge w1 w1

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "TODO OCC23748 ALL: ERROR. offsetperform operation not done."
puts "TODO OCC23748 ALL: Error: The command cannot be built"
puts "TODO OCC26556 ALL: Error : The offset cannot be built."

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
beziersurf c 3 2 \
0 0 0 0 5 5 2 14 3 \

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "TODO OCC23068 ALL: Error: bsection of the result and s is not equal to zero."
ellipse w1 0 0 0 15 10

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
ellipse w1 0 0 0 15 10
mkedge w1 w1 0 pi/2

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
ellipse w1 0 0 0 15 10
mkedge w1 w1 0 pi/2

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
bsplinecurve w1 3 2 -1.0 4 1.0 4 0 0 0 1 2 10 0 1 4 6 0 1 10 0 0 1
mkedge w1 w1

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
bsplinecurve w1 3 2 -1.0 4 1.0 4 0 0 0 1 2 10 0 1 4 6 0 1 10 0 0 1
mkedge w1 w1

View File

@@ -1,5 +1,5 @@
puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
beziercurve w1 5 0 0 0 20 0 0 20 5 0 25 10 0 10 20 0
mkedge w1 w1

View File

@@ -1,5 +1,3 @@
puts "TODO OCC24156 MacOS: Error : The resulting shape is WRONG"
restore [locate_data_file offset_wire_103.brep] s
set length 316.751

View File

@@ -1,5 +1,3 @@
puts "TODO OCC24156 MacOS: Error : The resulting shape is WRONG"
restore [locate_data_file offset_wire_103.brep] s
set length 245.13

View File

@@ -1,5 +1,3 @@
puts "TODO OCC24156 MacOS: Error : The resulting shape is WRONG"
restore [locate_data_file offset_wire_103.brep] s
set length 94.1559

View File

@@ -1,4 +1,3 @@
puts "TODO OCC23068 MacOS: Error : The resulting shape is WRONG"
restore [locate_data_file offset_wire_099.brep] s
set length 302.636

View File

@@ -1,4 +1,3 @@
puts "TODO OCC23068 MacOS: Error : The resulting shape is WRONG"
restore [locate_data_file offset_wire_099.brep] s
set length 325.844

View File

@@ -1,6 +1,3 @@
puts "TODO OCC23748 ALL: Error : The offset cannot be built."
puts "TODO OCC23748 ALL: Error: The command cannot be built"
puts "TODO OCC23748 ALL: Error: Offset is not done."
puts "TODO OCC24156 MacOS: Error : The length of result shape is"
puts "TODO OCC24156 MacOS: Error : The resulting shape is WRONG"

View File

@@ -43,7 +43,7 @@ vcaps -opaqueAlpha 0
# VTK viewer, just for comparison
set hasVtk 0
if { [vdriver -default] == "TKOpenGl" } {
if { [vdriver -default] == "TKOpenGl" && $::tcl_platform(os) != "Darwin" } {
set hasVtk 1
if { [catch { pload VIS }] } { set hasVtk 0 }
}

View File

@@ -1,6 +1,3 @@
puts "TODO OCC24156 MacOS: Tcl Exception:"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "========"
puts "OCC453"
puts "(case 1)"

View File

@@ -1,5 +1,3 @@
puts "TODO OCC24156 MacOS: Tcl Exception: tolerance ang"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "TODO OCC27203 ALL: Error: Max tolerance"
##puts "TODO OCC27203 All: Error : The area of result shape is"

View File

@@ -2,8 +2,6 @@ puts "================"
puts "OCC288: Currently meshing (for shading) of some shapes looks incorrect"
puts "================"
puts ""
puts "TODO #23828 MacOS: Tcl Exception: result is not a topological shape!!!"
puts "TODO #23828 MacOS: TEST INCOMPLETE"
pload MODELING VISUALIZATION
restore [locate_data_file OCC288-shading_176.brep] result