From: asuraven Date: Thu, 8 Apr 2021 17:21:11 +0000 (+0300) Subject: tests correction X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FCR23731_7;p=occt-copy.git tests correction --- diff --git a/tests/blend/complex/A3 b/tests/blend/complex/A3 index 40da6329ff..edf1059795 100644 --- a/tests/blend/complex/A3 +++ b/tests/blend/complex/A3 @@ -4,8 +4,6 @@ ## Comment : from original bug PRO4497 ## ==================================== -puts "TODO CR32187 ALL: Faulty shapes in variables faulty_1 to faulty_7" - restore [locate_data_file CCH_indushep.rle] s tscale s 0 0 0 1000 explode s e diff --git a/tests/bugs/modalg_1/bug140 b/tests/bugs/modalg_1/bug140 index a8afebe33d..464e2ee9f4 100755 --- a/tests/bugs/modalg_1/bug140 +++ b/tests/bugs/modalg_1/bug140 @@ -5,7 +5,7 @@ puts "" ######################################################### ## Fillet is created incorrectly on attached shape. ######################################################### -puts "TODO CR32185 ALL: Faulty shapes in variables faulty_1 to faulty_13" +puts "TODO CR32185 ALL: Faulty shapes in variables faulty_1 to faulty_4" restore [locate_data_file shading_137.brep] s checkshape s diff --git a/tests/bugs/modalg_5/bug25298_09 b/tests/bugs/modalg_5/bug25298_09 index d757334b1a..232047cab6 100755 --- a/tests/bugs/modalg_5/bug25298_09 +++ b/tests/bugs/modalg_5/bug25298_09 @@ -5,6 +5,7 @@ puts "" ####################################################################### # New option of BRepOffsetAPI_MakeOffset algorithm: processing of sharp corners in mode GeomAbs_Intersection ####################################################################### +puts "TODO CR32256 ALL: Faulty shapes in variables faulty_1 to faulty_2" polyline pp 0 0 0 10 0 0 10 10 0 6 10 0 6 15 0 4 15 0 4 10 0 0 10 0 0 0 0 diff --git a/tests/bugs/moddata_2/bug601 b/tests/bugs/moddata_2/bug601 index d42e840ae7..7fe4f5b3ef 100755 --- a/tests/bugs/moddata_2/bug601 +++ b/tests/bugs/moddata_2/bug601 @@ -6,7 +6,8 @@ puts "" ############################################# ## No possibility to make a fillet 13 at the inner edge of the shape ############################################# -puts "TODO CR32210 ALL: Faulty shapes in variables faulty_1 to faulty_9" +# There are 2 faulty on jenkins but 5 faulty on local machine +puts "TODO CR32210 ALL: Faulty shapes in variables faulty_1 to faulty_" restore [locate_data_file OCC601.brep] a checkshape a diff --git a/tests/bugs/step/bug29780 b/tests/bugs/step/bug29780 index 9268812b21..7b18b9c76f 100644 --- a/tests/bugs/step/bug29780 +++ b/tests/bugs/step/bug29780 @@ -1,7 +1,7 @@ puts "========================" puts "0029780 " puts "========================" - +puts "TODO CR32210 ALL: Faulty shapes in variables faulty_1 to faulty_1" stepread [locate_data_file bug29780.stp] a * diff --git a/tests/bugs/xde/bug15220 b/tests/bugs/xde/bug15220 index 3ffcef73a1..cecccb6af6 100755 --- a/tests/bugs/xde/bug15220 +++ b/tests/bugs/xde/bug15220 @@ -7,7 +7,7 @@ set BugNumber OCC15220 ###################################################### # Problems with IGES file locations ###################################################### -puts "TODO CR32226 ALL: Faulty shapes in variables faulty_1 to faulty_1" +puts "TODO CR32226 ALL: Faulty shapes in variables faulty_1 to faulty_7" igesbrep [locate_data_file OCC15220.igs] result * diff --git a/tests/chamfer/data/complex/B8 b/tests/chamfer/data/complex/B8 index b1aa413029..88fb68a780 100644 --- a/tests/chamfer/data/complex/B8 +++ b/tests/chamfer/data/complex/B8 @@ -6,4 +6,9 @@ set chamf_equal_dist [list "0.06 " "0.08 " "0.08 "] if { [string compare $command chamf_sequence] == 0 && [string compare $group dist_dist] == 0 } { puts "TODO OCC22909 All: compute of chamfer failed" } -puts "TODO CR32209 ALL: Faulty shapes in variables faulty_1 to faulty_1" +if { [string compare $command "chamf_sequence"] == 0 && [string compare $group dist_angle] == 0 } { + puts "TODO CR32209 ALL: Faulty shapes in variables faulty_1 to faulty_1" +} +if { [string compare $command "chamf_sequence"] == 0 && [string compare $group equal_dist] == 0 } { + puts "TODO CR32209 ALL: Faulty shapes in variables faulty_1 to faulty_1" +} diff --git a/tests/heal/data/advanced/B1 b/tests/heal/data/advanced/B1 index 7fe9187d47..c78d03de41 100644 --- a/tests/heal/data/advanced/B1 +++ b/tests/heal/data/advanced/B1 @@ -1,2 +1,5 @@ +if {[string compare $command "SplitAngle"] == 0 } { + puts "TODO CR32272 ALL: Faulty shapes in variables faulty_1 to faulty_27" +} restore [locate_data_file BUC60329.rle] a diff --git a/tests/heal/data/advanced/B2 b/tests/heal/data/advanced/B2 index 754833a344..0967534c73 100644 --- a/tests/heal/data/advanced/B2 +++ b/tests/heal/data/advanced/B2 @@ -1,5 +1,3 @@ -if {[string compare $command "SplitAngle"] == 0 } { - puts "TODO CR32272 ALL: Faulty shapes in variables faulty_1 to faulty_27" -} + restore [locate_data_file BUC60391.rle] a diff --git a/tests/heal/data/advanced/B4 b/tests/heal/data/advanced/B4 index dc4748a4ee..5b66557efa 100644 --- a/tests/heal/data/advanced/B4 +++ b/tests/heal/data/advanced/B4 @@ -1,2 +1,5 @@ +if {[string compare $command "SplitAngle"] == 0 } { + puts "TODO CR32272 ALL: Faulty shapes in variables faulty_1 to faulty_3" +} restore [locate_data_file CCI60005.rle] a diff --git a/tests/heal/data/advanced/ZB5 b/tests/heal/data/advanced/ZB5 index 952d8fa674..90d76a21f3 100644 --- a/tests/heal/data/advanced/ZB5 +++ b/tests/heal/data/advanced/ZB5 @@ -1,5 +1,8 @@ #if { [string compare $command "ShapeConvertRev"] == 0 } { # puts "TODO OCC23127 ALL: Error : The area of the resulting shape is" #} +if {[string compare $command "SplitAngle"] == 0 } { + puts "TODO CR32272 ALL: Faulty shapes in variables faulty_1 to faulty_11" +} restore [locate_data_file TOP01245_2.brep] a diff --git a/tests/heal/data/advanced/ZB6 b/tests/heal/data/advanced/ZB6 index 804d680783..a2e20ccb8a 100644 --- a/tests/heal/data/advanced/ZB6 +++ b/tests/heal/data/advanced/ZB6 @@ -1,6 +1,6 @@ if {[string compare $command "SplitAngle"] == 0 } { # puts "TODO OCC23127 ALL: Faulty shapes in variables faulty_1 to faulty_2 " - puts "TODO CR32210 ALL: Faulty shapes in variables faulty_1 to faulty_11" + puts "TODO CR32210 ALL: Faulty shapes in variables faulty_1 to faulty_13" } restore [locate_data_file ZWERTY.brep] a diff --git a/tests/heal/data/advanced/ZC7 b/tests/heal/data/advanced/ZC7 index c8ddc14f0b..1329dc75c3 100644 --- a/tests/heal/data/advanced/ZC7 +++ b/tests/heal/data/advanced/ZC7 @@ -1,5 +1,5 @@ if {[string compare $command "SplitAngle"] == 0 } { - puts "TODO OCC23127 ALL: Faulty shapes in variables faulty_1 to faulty_6 " +# puts "TODO OCC23127 ALL: Faulty shapes in variables faulty_1 to faulty_6 " puts "TODO CR32210 ALL: Faulty shapes in variables faulty_1 to faulty_87" } restore [locate_data_file CONSOLE-SERIE.brep] r1 diff --git a/tests/heal/data/standard/R5 b/tests/heal/data/standard/R5 index 0c31a8ee77..1f6da50328 100644 --- a/tests/heal/data/standard/R5 +++ b/tests/heal/data/standard/R5 @@ -2,8 +2,7 @@ if { [string compare $command "ShapeConvertRev"] == 0 } { puts "TODO OCC23127 ALL: Error : The area of the resulting shape is" } if {[string compare $command "SplitAngle"] == 0 } { -# puts "TODO OCC23127 ALL: Faulty shapes in variables faulty_1 to faulty_4 " - puts "TODO CR32272 ALL: Faulty shapes in variables faulty_1 to faulty_1" + puts "TODO OCC23127 ALL: Faulty shapes in variables faulty_1 to faulty_4 " } restore [locate_data_file CTO900_pro5363c.rle] r1 fixshape a r1 diff --git a/tests/heal/fix_face_size/B2 b/tests/heal/fix_face_size/B2 index 01330d52d4..e4d509a20f 100644 --- a/tests/heal/fix_face_size/B2 +++ b/tests/heal/fix_face_size/B2 @@ -1,2 +1,2 @@ puts "TODO CR32209 ALL: Faulty shapes in variables faulty_1 to faulty_4" -restore [locate_data_file CTO900_buc60127-part.rle] r +restore [locate_data_file CTO900_buc60127-part.rle] a diff --git a/tests/heal/fix_face_size/B8 b/tests/heal/fix_face_size/B8 index 349120d0a9..38e9dbf52c 100644 --- a/tests/heal/fix_face_size/B8 +++ b/tests/heal/fix_face_size/B8 @@ -1,4 +1,4 @@ -puts "TODO CR32209 ALL: Faulty shapes in variables faulty_1 to faulty_4" +puts "TODO CR32209 ALL: Faulty shapes in variables faulty_1 to faulty_3" restore [locate_data_file aaa.rle] r fixshape a r diff --git a/tests/heal/fix_face_size/C1 b/tests/heal/fix_face_size/C1 index 69f592dc4b..4db3ac7952 100644 --- a/tests/heal/fix_face_size/C1 +++ b/tests/heal/fix_face_size/C1 @@ -1,6 +1,6 @@ -if { [info exists bug23197] == 0 || $bug23197 == 0 } { - puts "TODO OCC23127 ALL: Faulty shapes in variables faulty_1 to faulty_2" -} +#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_" puts "TODO CR32209 ALL: Faulty shapes in variables faulty_1 to faulty_11" diff --git a/tests/heal/split_angle/E8 b/tests/heal/split_angle/E8 index 5acd96432c..911921a292 100644 --- a/tests/heal/split_angle/E8 +++ b/tests/heal/split_angle/E8 @@ -1 +1,3 @@ +puts "TODO CR32272 ALL: Faulty shapes in variables faulty_1 to faulty_3" + restore [locate_data_file face.rle] a diff --git a/tests/perf/modalg/bug453_2 b/tests/perf/modalg/bug453_2 index 238b1ce9e1..66301274ad 100644 --- a/tests/perf/modalg/bug453_2 +++ b/tests/perf/modalg/bug453_2 @@ -3,7 +3,7 @@ puts "OCC453" puts "(case 2)" puts "========" puts "" -puts "TODO CR32287 ALL: Faulty shapes in variables faulty_1 to faulty_16" +puts "TODO CR32287 ALL: Faulty shapes in variables faulty_1 to faulty_10" dchrono h2 restart diff --git a/tests/sewing/tol_100/K1 b/tests/sewing/tol_100/K1 index 3fcc7ff4ac..178c7a63b9 100644 --- a/tests/sewing/tol_100/K1 +++ b/tests/sewing/tol_100/K1 @@ -8,5 +8,5 @@ sewing result $tol a checkmaxtol result -ref 19.731382910922985 checknbshapes result -shell 1 -checkfreebounds result 15 +checkfreebounds result 16 checkfaults result a 1 diff --git a/tests/v3d/bugs/bug19_2 b/tests/v3d/bugs/bug19_2 index f1628fc7de..921c4b5698 100644 --- a/tests/v3d/bugs/bug19_2 +++ b/tests/v3d/bugs/bug19_2 @@ -5,6 +5,8 @@ puts "" pload MODELING VISUALIZATION restore [locate_data_file OCC19.brep] result +fixshape result result +breducetolerance result checkshape result tclean result diff --git a/tests/v3d/bugs/bug21578 b/tests/v3d/bugs/bug21578 index 622b8945f5..e1cea4591f 100644 --- a/tests/v3d/bugs/bug21578 +++ b/tests/v3d/bugs/bug21578 @@ -6,6 +6,7 @@ puts "============" puts "OCC21578: Attached shape is not visualized in the shaded mode" puts "============" puts "" +puts "TODO CR32272 ALL: Faulty shapes in variables faulty_1 to faulty_1" pload MODELING VISUALIZATION restore [locate_data_file OCC21578.brep] result diff --git a/tests/v3d/bugs/bug22985 b/tests/v3d/bugs/bug22985 index aee0b5d1ce..eae62c431a 100644 --- a/tests/v3d/bugs/bug22985 +++ b/tests/v3d/bugs/bug22985 @@ -2,6 +2,7 @@ puts "============" puts "OCC22985: Regression: no shading on good face" puts "============" puts "" +puts "TODO CR32210 ALL: Faulty shapes in variables faulty_1 to faulty_3" pload MODELING VISUALIZATION restore [locate_data_file OCC22985-gt602-f72-noshading.brep] result diff --git a/tests/v3d/bugs/bug28936 b/tests/v3d/bugs/bug28936 index 41ffce3d24..28151803ae 100644 --- a/tests/v3d/bugs/bug28936 +++ b/tests/v3d/bugs/bug28936 @@ -2,6 +2,7 @@ puts "============" puts "OCC28936: Visualization - Draw freezes while making a 3d representation" puts "============" puts "" +puts "TODO CR32272 ALL: Faulty shapes in variables faulty_1 to faulty_2" pload MODELING VISUALIZATION diff --git a/tests/v3d/bugs/bug344 b/tests/v3d/bugs/bug344 index 7824526fd3..965e47e601 100644 --- a/tests/v3d/bugs/bug344 +++ b/tests/v3d/bugs/bug344 @@ -3,6 +3,7 @@ puts "BUC61047: An e x c e p t i o n - is raised duri puts "OCC344" puts "================" puts "" +puts "TODO CR32272 ALL: Faulty shapes in variables faulty_1 to faulty_1" pload MODELING VISUALIZATION restore [locate_data_file OCC344.brep] result