From 0a58bfe2c3458011e08bcae9ba55da7c3243f6c6 Mon Sep 17 00:00:00 2001 From: mkv Date: Fri, 21 Mar 2014 16:16:29 +0400 Subject: [PATCH] Update test cases for debug mode --- tests/bugs/heal/bug24596_1 | 10 +++++----- tests/bugs/heal/bug24596_2 | 10 +++++----- tests/bugs/modalg_5/bug24696 | 12 ++++++++++-- tests/de/begin | 2 +- tests/de/iges_1/B4 | 1 - tests/de/iges_1/L5 | 1 - tests/de/iges_1/P9 | 3 --- tests/de/iges_2/B1 | 1 - tests/de/iges_2/H9 | 4 +--- tests/de/step_1/D1 | 2 ++ tests/de/step_1/E6 | 1 + tests/de/step_1/F9 | 1 + tests/de/step_1/G2 | 1 + tests/de/step_1/G3 | 1 + tests/de/step_1/G5 | 1 + tests/de/step_1/G6 | 1 + tests/de/step_1/G7 | 1 + tests/de/step_1/ZF7 | 5 +++++ tests/de/step_1/ZG2 | 1 + tests/de/step_1/ZH7 | 1 + tests/de/step_2/A5 | 2 +- tests/de/step_2/D9 | 2 +- tests/de/step_2/E1 | 1 + tests/de/step_2/E7 | 3 +-- tests/de/step_2/E9 | 2 +- tests/de/step_2/F2 | 2 +- tests/de/step_2/F3 | 2 +- tests/de/step_3/E6 | 3 ++- 28 files changed, 47 insertions(+), 30 deletions(-) diff --git a/tests/bugs/heal/bug24596_1 b/tests/bugs/heal/bug24596_1 index 7dad9ca681..761b2b5023 100755 --- a/tests/bugs/heal/bug24596_1 +++ b/tests/bugs/heal/bug24596_1 @@ -9,13 +9,13 @@ puts "" pload QAcommands if { [regexp {Debug mode} [dversion]] } { - cpulimit 7500 + cpulimit 8500 if { [regexp {Windows} [dversion]] } { - set max_time 2000 - set max_time2 1300 + set max_time 3000 + set max_time2 2300 } else { - set max_time 4500 - set max_time2 3000 + set max_time 5500 + set max_time2 4000 } } else { cpulimit 2600 diff --git a/tests/bugs/heal/bug24596_2 b/tests/bugs/heal/bug24596_2 index ff7063b5d5..35d688e807 100755 --- a/tests/bugs/heal/bug24596_2 +++ b/tests/bugs/heal/bug24596_2 @@ -9,13 +9,13 @@ puts "" pload QAcommands if { [regexp {Debug mode} [dversion]] } { - cpulimit 7500 + cpulimit 8500 if { [regexp {Windows} [dversion]] } { - set max_time 2000 - set max_time2 1300 + set max_time 3000 + set max_time2 2300 } else { - set max_time 4500 - set max_time2 3000 + set max_time 5500 + set max_time2 4000 } } else { cpulimit 2600 diff --git a/tests/bugs/modalg_5/bug24696 b/tests/bugs/modalg_5/bug24696 index fe6704324c..61313fe0ce 100644 --- a/tests/bugs/modalg_5/bug24696 +++ b/tests/bugs/modalg_5/bug24696 @@ -28,10 +28,18 @@ set q [dchrono h show] regexp {CPU user time: ([-0-9.+eE]+) seconds} $q full z puts "$z" -if { [regexp {Windows} [dversion] ] } { - set max_time 20.0 +if { [regexp {Debug mode} [dversion]] } { + if { [regexp {Windows} [dversion]] } { + set max_time 100.0 + } else { + set max_time 200.0 + } } else { + if { [regexp {Windows} [dversion]] } { + set max_time 20.0 + } else { set max_time 40.0 + } } if { $z > ${max_time} } { diff --git a/tests/de/begin b/tests/de/begin index 00b9e9d1f1..b363dda704 100644 --- a/tests/de/begin +++ b/tests/de/begin @@ -2,7 +2,7 @@ pload DCAF pload TOPTEST pload XDE -cpulimit 1500 +cpulimit 2500 # Create a new document and set UndoLimit NewDocument D MDTV-XCAF diff --git a/tests/de/iges_1/B4 b/tests/de/iges_1/B4 index 58004497cb..9b53028486 100644 --- a/tests/de/iges_1/B4 +++ b/tests/de/iges_1/B4 @@ -1,6 +1,5 @@ # !!!! This file is generated automatically, do not edit manually! See end script puts "TODO CR23096 Mandriva2010: Error : 1 differences with reference data found :" -puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Warning: Exception in Segment()" set LinuxDiff 1 set filename t500core.igs diff --git a/tests/de/iges_1/L5 b/tests/de/iges_1/L5 index 820e40dbb1..904a7085df 100644 --- a/tests/de/iges_1/L5 +++ b/tests/de/iges_1/L5 @@ -1,7 +1,6 @@ # !!!! This file is generated automatically, do not edit manually! See end script puts "TODO CR23096 ALL: TOLERANCE : Faulty" puts "TODO CR23096 ALL: LABELS : Faulty" -puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Warning: Exception in Segment()" set filename PRO10578.igs diff --git a/tests/de/iges_1/P9 b/tests/de/iges_1/P9 index 33c359623d..51a70d1620 100644 --- a/tests/de/iges_1/P9 +++ b/tests/de/iges_1/P9 @@ -1,8 +1,5 @@ # !!!! This file is generated automatically, do not edit manually! See end script puts "TODO CR23096 ALL: LABELS : Faulty" -puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Warning: Exception in Segment()" - - puts "TODO CR23096 Mandriva2010: Error : 1 differences with reference data found :" set LinuxDiff 1 diff --git a/tests/de/iges_2/B1 b/tests/de/iges_2/B1 index 6e98b555d7..5095c18c4f 100755 --- a/tests/de/iges_2/B1 +++ b/tests/de/iges_2/B1 @@ -3,7 +3,6 @@ puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" puts "TODO CR23096 ALL: NBSHAPES : Faulty" puts "TODO CR23096 ALL: LABELS : Faulty" puts "TODO CR23096 ALL: LAYERS : Faulty" -puts "TODO DEBUG_OCC24442 Debian60-64 Windows: Warning: Exception in Segment()" set filename CATIA01.igs diff --git a/tests/de/iges_2/H9 b/tests/de/iges_2/H9 index 2196b30f5f..c12c6d081b 100644 --- a/tests/de/iges_2/H9 +++ b/tests/de/iges_2/H9 @@ -3,11 +3,9 @@ puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" puts "TODO CR23096 ALL: NBSHAPES : Faulty" puts "TODO CR23096 ALL: LABELS : Faulty" puts "TODO CR23096 ALL: COLORS : Faulty" - - puts "TODO CR23096 Mandriva2010: STATSHAPE : Faulty " - puts "TODO CR23096 Mandriva2010: Error : 4 differences with reference data found :" +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Warning: ShapeAnalysis_Surface" set LinuxDiff 4 set LinuxFaulties {STATSHAPE} diff --git a/tests/de/step_1/D1 b/tests/de/step_1/D1 index d6a246ff2c..6d80633068 100644 --- a/tests/de/step_1/D1 +++ b/tests/de/step_1/D1 @@ -1,5 +1,7 @@ # !!!! This file is generated automatically, do not edit manually! See end script puts "TODO CR23096 ALL: LABELS : Faulty" +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error: ShapeFix_ComposeShell" +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error: color name" set filename trj9_b2-ai-214.stp diff --git a/tests/de/step_1/E6 b/tests/de/step_1/E6 index 7e59af5181..93c9a8f008 100644 --- a/tests/de/step_1/E6 +++ b/tests/de/step_1/E6 @@ -1,5 +1,6 @@ # !!!! This file is generated automatically, do not edit manually! See end script puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error: STEPCAFControl_Reader" set filename trj4_s1-ai-214.stp diff --git a/tests/de/step_1/F9 b/tests/de/step_1/F9 index 507639018e..092516c72a 100644 --- a/tests/de/step_1/F9 +++ b/tests/de/step_1/F9 @@ -1,5 +1,6 @@ # !!!! This file is generated automatically, do not edit manually! See end script puts "TODO CR23096 ALL: STATSHAPE : Faulty" +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error : 1 differences with reference data found" set filename trj6_pm4-al-214.stp diff --git a/tests/de/step_1/G2 b/tests/de/step_1/G2 index 13916e0773..d351770d50 100644 --- a/tests/de/step_1/G2 +++ b/tests/de/step_1/G2 @@ -1,6 +1,7 @@ # !!!! This file is generated automatically, do not edit manually! See end script puts "TODO CR23096 ALL: LABELS : Faulty" puts "TODO CR23096 ALL: LAYERS : Faulty" +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error: STEPCAFControl_Reader" set filename db_as1-A.stp diff --git a/tests/de/step_1/G3 b/tests/de/step_1/G3 index c457626558..c104f7d558 100644 --- a/tests/de/step_1/G3 +++ b/tests/de/step_1/G3 @@ -1,6 +1,7 @@ # !!!! This file is generated automatically, do not edit manually! See end script puts "TODO CR23096 ALL: LABELS : Faulty" puts "TODO CR23096 ALL: LAYERS : Faulty" +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error: STEPCAFControl_Reader" set filename db_as1-B.stp diff --git a/tests/de/step_1/G5 b/tests/de/step_1/G5 index 3395fb99ab..2da700ec11 100644 --- a/tests/de/step_1/G5 +++ b/tests/de/step_1/G5 @@ -2,6 +2,7 @@ puts "TODO CR23096 ALL: TPSTAT : Faulty" puts "TODO CR23096 ALL: LABELS : Faulty" puts "TODO CR23096 ALL: LAYERS : Faulty" +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error: STEPCAFControl_Reader" set filename trj3_s1-db-214.stp diff --git a/tests/de/step_1/G6 b/tests/de/step_1/G6 index 8209a7f2fe..55dd30458c 100644 --- a/tests/de/step_1/G6 +++ b/tests/de/step_1/G6 @@ -1,6 +1,7 @@ # !!!! This file is generated automatically, do not edit manually! See end script puts "TODO CR23096 ALL: LABELS : Faulty" puts "TODO CR23096 ALL: LAYERS : Faulty" +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error: STEPCAFControl_Reader" set filename tr8_as2_db.stp diff --git a/tests/de/step_1/G7 b/tests/de/step_1/G7 index dc809cbb17..c833aa56a8 100644 --- a/tests/de/step_1/G7 +++ b/tests/de/step_1/G7 @@ -1,6 +1,7 @@ # !!!! This file is generated automatically, do not edit manually! See end script puts "TODO CR23096 ALL: LABELS : Faulty" puts "TODO CR23096 ALL: LAYERS : Faulty" +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error: STEPCAFControl_Reader" set filename tr8_as2a_db.stp diff --git a/tests/de/step_1/ZF7 b/tests/de/step_1/ZF7 index d3ea007853..8357e1220c 100644 --- a/tests/de/step_1/ZF7 +++ b/tests/de/step_1/ZF7 @@ -1,6 +1,11 @@ # !!!! This file is generated automatically, do not edit manually! See end script puts "TODO CR23096 ALL: TPSTAT : Faulty" puts "TODO CR23096 ALL: STATSHAPE : Faulty" +puts "TODO DEBUG_OCC24121 Debian60-64: \\*\\* Exception \\*\\*.*" +puts "TODO DEBUG_OCC24121 Debian60-64: An exception was caught" +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error: First - file was not written - exception" +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error : Here is writing problem" +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error : 3 differences with reference data found" set filename S4132-test.stp diff --git a/tests/de/step_1/ZG2 b/tests/de/step_1/ZG2 index 0f890e4a9b..780c143b78 100644 --- a/tests/de/step_1/ZG2 +++ b/tests/de/step_1/ZG2 @@ -1,5 +1,6 @@ # !!!! This file is generated automatically, do not edit manually! See end script puts "TODO CR23096 ALL: LABELS : Faulty" +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error: STEPCAFControl_Reader" set filename as1ug.stp diff --git a/tests/de/step_1/ZH7 b/tests/de/step_1/ZH7 index 6368b0f558..dfdfa7e8a0 100644 --- a/tests/de/step_1/ZH7 +++ b/tests/de/step_1/ZH7 @@ -2,6 +2,7 @@ puts "TODO CR23096 ALL: NBSHAPES : Faulty" puts "TODO CR23096 ALL: LABELS : Faulty" puts "TODO CR23096 ALL: LAYERS : Faulty" +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error: STEPCAFControl_Reader" set filename tr8_ha1_db.stp diff --git a/tests/de/step_2/A5 b/tests/de/step_2/A5 index 9dc11fab9a..7d4abf3d53 100644 --- a/tests/de/step_2/A5 +++ b/tests/de/step_2/A5 @@ -1,6 +1,6 @@ # !!!! This file is generated automatically, do not edit manually! See end script puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" - +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error: STEPCAFControl_Reader" set filename r86ug.stp diff --git a/tests/de/step_2/D9 b/tests/de/step_2/D9 index 6c2abc421b..08947874ee 100644 --- a/tests/de/step_2/D9 +++ b/tests/de/step_2/D9 @@ -2,7 +2,7 @@ puts "TODO CR23096 ALL: TPSTAT : Faulty" puts "TODO CR23096 ALL: LABELS : Faulty" puts "TODO CR23096 ALL: LAYERS : Faulty" - +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error: STEPCAFControl_Reader" set filename bm4_db_punch_a.stp diff --git a/tests/de/step_2/E1 b/tests/de/step_2/E1 index 618622f224..785314652c 100644 --- a/tests/de/step_2/E1 +++ b/tests/de/step_2/E1 @@ -2,6 +2,7 @@ puts "TODO CR23096 ALL: TPSTAT : Faulty" puts "TODO CR23096 ALL: STATSHAPE : Faulty" puts "TODO CR23096 ALL: LABELS : Faulty" +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Warning: StepToTopoDS_TranslateCompositeCurve" set filename tr9_r0901-al.stp diff --git a/tests/de/step_2/E7 b/tests/de/step_2/E7 index 4497815c8d..f356c266c3 100644 --- a/tests/de/step_2/E7 +++ b/tests/de/step_2/E7 @@ -2,9 +2,8 @@ puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" puts "TODO CR23096 ALL: NBSHAPES : Faulty" puts "TODO CR23096 ALL: LABELS : Faulty" - - puts "TODO CR23096 Mandriva2010: Error : 3 differences with reference data found :" +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Warning: StepToGeom_MakeSurface" set LinuxDiff 3 set filename r76sy.stp diff --git a/tests/de/step_2/E9 b/tests/de/step_2/E9 index a217555ee3..3bfeefb0de 100644 --- a/tests/de/step_2/E9 +++ b/tests/de/step_2/E9 @@ -2,7 +2,7 @@ puts "TODO CR23096 ALL: TPSTAT : Faulty" puts "TODO CR23096 ALL: LABELS : Faulty" puts "TODO CR23096 ALL: LAYERS : Faulty" - +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error: STEPCAFControl_Reader" set filename bm4_db_punch_c.stp diff --git a/tests/de/step_2/F2 b/tests/de/step_2/F2 index 1b8300166a..d30b077236 100644 --- a/tests/de/step_2/F2 +++ b/tests/de/step_2/F2 @@ -1,7 +1,7 @@ # !!!! This file is generated automatically, do not edit manually! See end script puts "TODO CR23096 ALL: LABELS : Faulty" puts "TODO CR23096 ALL: LAYERS : Faulty" - +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error: STEPCAFControl_Reader" set filename bm4_db_conn_a.stp diff --git a/tests/de/step_2/F3 b/tests/de/step_2/F3 index 001512e276..80d26fe3c0 100644 --- a/tests/de/step_2/F3 +++ b/tests/de/step_2/F3 @@ -2,7 +2,7 @@ puts "TODO CR23096 ALL: TPSTAT : Faulty" puts "TODO CR23096 ALL: LABELS : Faulty" puts "TODO CR23096 ALL: LAYERS : Faulty" - +puts "TODO DEBUG_OCC24121 Debian60-64 Windows: Error: STEPCAFControl_Reader" set filename bm4_db_conn_d.stp diff --git a/tests/de/step_3/E6 b/tests/de/step_3/E6 index d8e45bd6e5..4b336f3d12 100644 --- a/tests/de/step_3/E6 +++ b/tests/de/step_3/E6 @@ -3,9 +3,10 @@ puts "TODO CR23096 ALL: TPSTAT : Faulty" puts "TODO CR23096 ALL: STATSHAPE : Faulty" puts "TODO CR23096 ALL: TOLERANCE : Faulty" - puts "TODO CR23096 Mandriva2010: Error : 3 differences with reference data found :" +puts "TODO DEBUG_CR24543 ALL: Error: ShapeFix_ComposeShell::MakeFacesOnPatch: can't dispatch wires" + set LinuxDiff 3 set filename Z8M6SAT.stp