From 35a381fd036e716d439d047697bdcb51f9f5f41f Mon Sep 17 00:00:00 2001 From: kgv Date: Mon, 25 Mar 2019 09:07:02 +0300 Subject: [PATCH] 0030602: Tests - testdiff does not report known unstable cases properly Comment TODOs --- tests/bugs/fclasses/bug7287_1 | 18 ++++++------------ tests/bugs/fclasses/bug7287_2 | 19 +++++++------------ tests/bugs/fclasses/bug7287_3 | 19 ++++++------------- tests/bugs/fclasses/bug7287_4 | 20 +++++++------------- tests/bugs/fclasses/bug7287_5 | 18 ++++++------------ tests/bugs/fclasses/bug7287_6 | 19 ++++++------------- tests/bugs/modalg_4/bug8842_5 | 2 +- tests/bugs/modalg_7/bug28119_1 | 8 ++++---- tests/bugs/modalg_7/bug29910_1 | 10 +++++----- tests/lowalgos/intss/bug29910_2 | 8 ++++---- tests/lowalgos/intss/bug567_1 | 12 ++++++------ tests/mesh/end | 2 +- tests/offset/compshape/A3 | 4 ++-- tests/perf/ncollection/A3 | 2 +- tests/pipe/bugs/bug24909_1 | 8 ++++---- tests/pipe/bugs/bug24909_2 | 8 ++++---- 16 files changed, 70 insertions(+), 107 deletions(-) diff --git a/tests/bugs/fclasses/bug7287_1 b/tests/bugs/fclasses/bug7287_1 index 9c87d5ee3d..80d3174c76 100755 --- a/tests/bugs/fclasses/bug7287_1 +++ b/tests/bugs/fclasses/bug7287_1 @@ -1,19 +1,13 @@ -puts "TODO ?OCC7287 Linux: Tcl Exception: Memory leak detected" -puts "TODO ?OCC7287 Linux: TEST INCOMPLETE" -puts "TODO ?OCC7287 MacOS: Tcl Exception: Memory leak detected" -puts "TODO ?OCC7287 MacOS: TEST INCOMPLETE" +#puts "TODO ?OCC7287 Linux: Tcl Exception: Memory leak detected" +#puts "TODO ?OCC7287 Linux: TEST INCOMPLETE" +#puts "TODO ?OCC7287 MacOS: Tcl Exception: Memory leak detected" +#puts "TODO ?OCC7287 MacOS: TEST INCOMPLETE" puts "============" -puts "OCC7287" +puts "0007287: Problem of Memory Leak" +puts "BOP cut producing NULL result" puts "============" puts "" -###################################################### -# Problem of Memory Leak -###################################################### - -# -# Result is Null shape -# set BugNumber OCC7287 diff --git a/tests/bugs/fclasses/bug7287_2 b/tests/bugs/fclasses/bug7287_2 index a21bc81fd1..6fa4739cc2 100755 --- a/tests/bugs/fclasses/bug7287_2 +++ b/tests/bugs/fclasses/bug7287_2 @@ -1,19 +1,13 @@ -puts "TODO ?OCC7287 Linux: Tcl Exception: Memory leak detected" -puts "TODO ?OCC7287 Linux: TEST INCOMPLETE" -puts "TODO ?OCC7287 MacOS: Tcl Exception: Memory leak detected" -puts "TODO ?OCC7287 MacOS: TEST INCOMPLETE" +#puts "TODO ?OCC7287 Linux: Tcl Exception: Memory leak detected" +#puts "TODO ?OCC7287 Linux: TEST INCOMPLETE" +#puts "TODO ?OCC7287 MacOS: Tcl Exception: Memory leak detected" +#puts "TODO ?OCC7287 MacOS: TEST INCOMPLETE" puts "============" -puts "OCC7287" +puts "0007287: Problem of Memory Leak" +puts "BOP cut" puts "============" puts "" -###################################################### -# Problem of Memory Leak -###################################################### - -# -# Result is not Null shape -# set BugNumber OCC7287 @@ -25,6 +19,7 @@ set listmem {} for {set i 1} {${i} <= ${NCycles}} {incr i } { bop b1 b2 bopcut r + lappend listmem [meminfo h] checktrend $listmem 0 100 "Memory leak detected" } diff --git a/tests/bugs/fclasses/bug7287_3 b/tests/bugs/fclasses/bug7287_3 index 1003fd8962..a090e05174 100755 --- a/tests/bugs/fclasses/bug7287_3 +++ b/tests/bugs/fclasses/bug7287_3 @@ -1,23 +1,16 @@ -puts "TODO ?OCC7287 Linux: Tcl Exception: Memory leak detected" -puts "TODO ?OCC7287 Linux: TEST INCOMPLETE" -puts "TODO ?OCC7287 MacOS: Tcl Exception: Memory leak detected" -puts "TODO ?OCC7287 MacOS: TEST INCOMPLETE" +#puts "TODO ?OCC7287 Linux: Tcl Exception: Memory leak detected" +#puts "TODO ?OCC7287 Linux: TEST INCOMPLETE" +#puts "TODO ?OCC7287 MacOS: Tcl Exception: Memory leak detected" +#puts "TODO ?OCC7287 MacOS: TEST INCOMPLETE" puts "============" -puts "OCC7287" +puts "0007287: Problem of Memory Leak" +puts "BOP tuc" puts "============" puts "" -###################################################### -# Problem of Memory Leak -###################################################### - -# -# Result is not Null shape -# set BugNumber OCC7287 - set NCycles 10 box b1 10 10 10 100 100 100 box b2 50 50 50 diff --git a/tests/bugs/fclasses/bug7287_4 b/tests/bugs/fclasses/bug7287_4 index 759e08fbe9..ef9ca9c5b9 100755 --- a/tests/bugs/fclasses/bug7287_4 +++ b/tests/bugs/fclasses/bug7287_4 @@ -1,20 +1,14 @@ -puts "TODO ?OCC7287 Linux: Tcl Exception: Memory leak detected" -puts "TODO ?OCC7287 Linux: TEST INCOMPLETE" -puts "TODO ?OCC7287 Linux: Checking trend failed" -puts "TODO ?OCC7287 MacOS: Tcl Exception: Memory leak detected" -puts "TODO ?OCC7287 MacOS: TEST INCOMPLETE" +#puts "TODO ?OCC7287 Linux: Tcl Exception: Memory leak detected" +#puts "TODO ?OCC7287 Linux: TEST INCOMPLETE" +#puts "TODO ?OCC7287 Linux: Checking trend failed" +#puts "TODO ?OCC7287 MacOS: Tcl Exception: Memory leak detected" +#puts "TODO ?OCC7287 MacOS: TEST INCOMPLETE" puts "============" -puts "OCC7287" +puts "0007287: Problem of Memory Leak" +puts "BOP common" puts "============" puts "" -###################################################### -# Problem of Memory Leak -###################################################### - -# -# Result is not Null shape -# set BugNumber OCC7287 diff --git a/tests/bugs/fclasses/bug7287_5 b/tests/bugs/fclasses/bug7287_5 index 929094e2da..11267344e7 100755 --- a/tests/bugs/fclasses/bug7287_5 +++ b/tests/bugs/fclasses/bug7287_5 @@ -1,19 +1,13 @@ -puts "TODO ?OCC7287 Linux: Tcl Exception: Memory leak detected" -puts "TODO ?OCC7287 Linux: TEST INCOMPLETE" -puts "TODO ?OCC7287 MacOS: Tcl Exception: Memory leak detected" -puts "TODO ?OCC7287 MacOS: TEST INCOMPLETE" +#puts "TODO ?OCC7287 Linux: Tcl Exception: Memory leak detected" +#puts "TODO ?OCC7287 Linux: TEST INCOMPLETE" +#puts "TODO ?OCC7287 MacOS: Tcl Exception: Memory leak detected" +#puts "TODO ?OCC7287 MacOS: TEST INCOMPLETE" puts "============" -puts "OCC7287" +puts "0007287: Problem of Memory Leak" +puts "BOP fuse" puts "============" puts "" -###################################################### -# Problem of Memory Leak -###################################################### - -# -# Result is not Null shape -# set BugNumber OCC7287 diff --git a/tests/bugs/fclasses/bug7287_6 b/tests/bugs/fclasses/bug7287_6 index e40799f71e..34cd897a07 100755 --- a/tests/bugs/fclasses/bug7287_6 +++ b/tests/bugs/fclasses/bug7287_6 @@ -1,19 +1,13 @@ -puts "TODO ?OCC7287 Linux: Tcl Exception: Memory leak detected" -puts "TODO ?OCC7287 Linux: TEST INCOMPLETE" -puts "TODO ?OCC7287 MacOS: Tcl Exception: Memory leak detected" -puts "TODO ?OCC7287 MacOS: TEST INCOMPLETE" +#puts "TODO ?OCC7287 Linux: Tcl Exception: Memory leak detected" +#puts "TODO ?OCC7287 Linux: TEST INCOMPLETE" +#puts "TODO ?OCC7287 MacOS: Tcl Exception: Memory leak detected" +#puts "TODO ?OCC7287 MacOS: TEST INCOMPLETE" puts "============" -puts "OCC7287" +puts "0007287: Problem of Memory Leak" +puts "BOP section" puts "============" puts "" -###################################################### -# Problem of Memory Leak -###################################################### - -# -# Result is not Null shape -# set BugNumber OCC7287 @@ -29,4 +23,3 @@ for {set i 1} {${i} <= ${NCycles}} {incr i } { lappend listmem [meminfo h] checktrend $listmem 0 100 "Memory leak detected" } - diff --git a/tests/bugs/modalg_4/bug8842_5 b/tests/bugs/modalg_4/bug8842_5 index c3ab3fabdb..047e4429d5 100755 --- a/tests/bugs/modalg_4/bug8842_5 +++ b/tests/bugs/modalg_4/bug8842_5 @@ -1,4 +1,4 @@ -puts "TODO ?OCC25913 ALL: Faulty shapes in variables faulty_1 to faulty_" +#puts "TODO ?OCC25913 ALL: Faulty shapes in variables faulty_1 to faulty_" puts "TODO OCC25913 ALL: Error : is WRONG because number of" puts "TODO OCC25913 ALL: Error : The area of result shape is" diff --git a/tests/bugs/modalg_7/bug28119_1 b/tests/bugs/modalg_7/bug28119_1 index fe8fef9216..d3b48c48fa 100755 --- a/tests/bugs/modalg_7/bug28119_1 +++ b/tests/bugs/modalg_7/bug28119_1 @@ -4,10 +4,10 @@ puts "========" puts "" # Different result between Debian 7 and Debian 8. -puts "TODO ?OCC28119 ALL: Error: Cannot find the result of BLEND-operation. The result of BOP operation will be returned." -puts "TODO ?OCC29910 ALL: exception" -puts "TODO ?OCC29910 ALL: Exception" -puts "TODO ?OCC29910 ALL: Error: Exception in bfuseblend operation" +#puts "TODO ?OCC28119 ALL: Error: Cannot find the result of BLEND-operation. The result of BOP operation will be returned." +#puts "TODO ?OCC29910 ALL: exception" +#puts "TODO ?OCC29910 ALL: Exception" +#puts "TODO ?OCC29910 ALL: Error: Exception in bfuseblend operation" cpulimit 200 diff --git a/tests/bugs/modalg_7/bug29910_1 b/tests/bugs/modalg_7/bug29910_1 index 60aeab9963..0257980e67 100644 --- a/tests/bugs/modalg_7/bug29910_1 +++ b/tests/bugs/modalg_7/bug29910_1 @@ -4,11 +4,11 @@ puts "========" puts "" # Different result between Debian 7 and Debian 8. -puts "TODO ?OCC29910 Linux: Error : is WRONG because number of EDGE entities in shape \"rs\" is 16" -puts "TODO ?OCC29910 Linux: Error : is WRONG because number of SHELL entities in shape \"result\" is 5" -puts "TODO ?OCC29910 Linux: Error : is WRONG because number of SOLID entities in shape \"result\" is 5" -puts "TODO ?OCC29910 Linux: Error : The area of result shape is" -puts "TODO ?OCC29910 Linux: Error : The volume of result shape is" +#puts "TODO ?OCC29910 Linux: Error : is WRONG because number of EDGE entities in shape \"rs\" is 16" +#puts "TODO ?OCC29910 Linux: Error : is WRONG because number of SHELL entities in shape \"result\" is 5" +#puts "TODO ?OCC29910 Linux: Error : is WRONG because number of SOLID entities in shape \"result\" is 5" +#puts "TODO ?OCC29910 Linux: Error : The area of result shape is" +#puts "TODO ?OCC29910 Linux: Error : The volume of result shape is" ptorus t1 100 10 ptorus t2 100 10 diff --git a/tests/lowalgos/intss/bug29910_2 b/tests/lowalgos/intss/bug29910_2 index 178efaaada..94951f83a7 100644 --- a/tests/lowalgos/intss/bug29910_2 +++ b/tests/lowalgos/intss/bug29910_2 @@ -4,10 +4,10 @@ puts "========" puts "" # Different result between Debian 7 and Debian 8 and between MSVC 2010 and 2017. -puts "TODO ?OCC29910 Windows: Error: Tolerance = 4.0169383828521568e-006 is not equal to expected" -puts "TODO ?OCC29910 Linux: Error: Tolerance = 6.0392296447644325e-07 is not equal to expected" -puts "TODO ?OCC29910 ALL: Error : is WRONG because number of VERTEX entities in shape \"result\" is 7" -puts "TODO ?OCC29910 ALL: Error : is WRONG because number of EDGE entities in shape \"result\" is 5" +#puts "TODO ?OCC29910 Windows: Error: Tolerance = 4.0169383828521568e-006 is not equal to expected" +#puts "TODO ?OCC29910 Linux: Error: Tolerance = 6.0392296447644325e-07 is not equal to expected" +#puts "TODO ?OCC29910 ALL: Error : is WRONG because number of VERTEX entities in shape \"result\" is 7" +#puts "TODO ?OCC29910 ALL: Error : is WRONG because number of EDGE entities in shape \"result\" is 5" restore [locate_data_file bug29910_f1.brep] f1 restore [locate_data_file bug29910_f2.brep] f2 diff --git a/tests/lowalgos/intss/bug567_1 b/tests/lowalgos/intss/bug567_1 index 223b72581c..77101ac8da 100644 --- a/tests/lowalgos/intss/bug567_1 +++ b/tests/lowalgos/intss/bug567_1 @@ -4,12 +4,12 @@ puts "========" puts "" # Different result between Debian 7 and Debian 8 and between MSVC 2010 and 2017. -puts "TODO ?OCC30012 Linux: Error: 10 curves are expected but 9 ones are found." -puts "TODO ?OCC30012 Linux: Error: 10 curves are expected but 8 ones are found." -puts "TODO ?OCC29910 Windows: Error: 10 curves are expected but 11 ones are found." -puts "TODO ?OCC29910 Windows: Error : is WRONG because number of EDGE entities in shape \"rs\" is 15" -puts "TODO ?OCC29910 Linux: Error : is WRONG because number of EDGE entities in shape \"rs\" is 8" -puts "TODO ?OCC29910 Windows: Error: 0 vertices are expected but 2 are found" +#puts "TODO ?OCC30012 Linux: Error: 10 curves are expected but 9 ones are found." +#puts "TODO ?OCC30012 Linux: Error: 10 curves are expected but 8 ones are found." +#puts "TODO ?OCC29910 Windows: Error: 10 curves are expected but 11 ones are found." +#puts "TODO ?OCC29910 Windows: Error : is WRONG because number of EDGE entities in shape \"rs\" is 15" +#puts "TODO ?OCC29910 Linux: Error : is WRONG because number of EDGE entities in shape \"rs\" is 8" +#puts "TODO ?OCC29910 Windows: Error: 0 vertices are expected but 2 are found" set GoodNbCurves 10 diff --git a/tests/mesh/end b/tests/mesh/end index 9ee09492b4..a337f43f75 100644 --- a/tests/mesh/end +++ b/tests/mesh/end @@ -46,7 +46,7 @@ if { [string compare $bug_area ""] != 0 } { if { $rel_tol == 100 } { puts "TODO $bug_area All:^\\s*Error : The meshing algo cannot create mesh.\\s*$" } else { - puts "TODO ?$bug_area All: Error: area difference = .* is not equal to expected" + #puts "TODO ?$bug_area All: Error: area difference = .* is not equal to expected" } } diff --git a/tests/offset/compshape/A3 b/tests/offset/compshape/A3 index d512b2edd2..87b00ae872 100644 --- a/tests/offset/compshape/A3 +++ b/tests/offset/compshape/A3 @@ -4,8 +4,8 @@ ## Comment : From CV tests serie page 58/59 ## ========================================== -puts "TODO ?OCC23068 ALL:Error\\s*:\\s*.*The volume" -puts "TODO ?OCC23068 ALL:Faulty shapes in variables faulty_1 to faulty_" +#puts "TODO ?OCC23068 ALL:Error\\s*:\\s*.*The volume" +#puts "TODO ?OCC23068 ALL:Faulty shapes in variables faulty_1 to faulty_" restore [locate_data_file CCV_2_c1_gsv.rle] s explode s F catch {offsetcompshape result s -10 s_8 s_10} diff --git a/tests/perf/ncollection/A3 b/tests/perf/ncollection/A3 index a704b43edd..b9a36ff9c6 100644 --- a/tests/perf/ncollection/A3 +++ b/tests/perf/ncollection/A3 @@ -1,6 +1,6 @@ pload QAcommands -puts "TODO ?OCC29132 Windows: ERROR: performance" +#puts "TODO ?OCC29132 Windows: ERROR: performance" set info [QANTestNCollectionIndexedDataMap] diff --git a/tests/pipe/bugs/bug24909_1 b/tests/pipe/bugs/bug24909_1 index de4e431b85..103e57b899 100755 --- a/tests/pipe/bugs/bug24909_1 +++ b/tests/pipe/bugs/bug24909_1 @@ -1,7 +1,7 @@ -puts "TODO ?OCC24909 ALL: An exception was caught" -puts "TODO ?OCC24909 ALL: \\*\\* Exception \\*\\*.*" -puts "TODO ?OCC24909 ALL: TEST INCOMPLETE" -puts "TODO ?OCC24909 ALL: Tcl Exception: Buildsweep : Not Done" +#puts "TODO ?OCC24909 ALL: An exception was caught" +#puts "TODO ?OCC24909 ALL: \\*\\* Exception \\*\\*.*" +#puts "TODO ?OCC24909 ALL: TEST INCOMPLETE" +#puts "TODO ?OCC24909 ALL: Tcl Exception: Buildsweep : Not Done" puts "========" puts "OCC24909" diff --git a/tests/pipe/bugs/bug24909_2 b/tests/pipe/bugs/bug24909_2 index 25784a151b..dde4eb4a76 100755 --- a/tests/pipe/bugs/bug24909_2 +++ b/tests/pipe/bugs/bug24909_2 @@ -1,7 +1,7 @@ -puts "TODO ?OCC24909 ALL: An exception was caught" -puts "TODO ?OCC24909 ALL: \\*\\* Exception \\*\\*.*" -puts "TODO ?OCC24909 ALL: TEST INCOMPLETE" -puts "TODO ?OCC24909 ALL: Tcl Exception: Buildsweep : Not Done" +#puts "TODO ?OCC24909 ALL: An exception was caught" +#puts "TODO ?OCC24909 ALL: \\*\\* Exception \\*\\*.*" +#puts "TODO ?OCC24909 ALL: TEST INCOMPLETE" +#puts "TODO ?OCC24909 ALL: Tcl Exception: Buildsweep : Not Done" puts "========" puts "OCC24909" -- 2.39.5