Modified cpulimits in test cases in Debug mode.
authorapn <apn@opencascade.com>
Fri, 11 Jul 2014 08:29:19 +0000 (12:29 +0400)
committerapn <apn@opencascade.com>
Fri, 11 Jul 2014 08:29:19 +0000 (12:29 +0400)
Modified test case mesh/data/standard/V4 for issue 24968.

tests/bugs/mesh/bug24968_1
tests/bugs/mesh/bug24968_2
tests/mesh/data/standard/V4

index 4e1ad86617d95fd9dbeebfbaeb7fdd2608b3648e..84523150c968993453a34d38e6fda4c69fa4e207 100644 (file)
@@ -6,6 +6,8 @@ puts ""
 # Impove BRepMesh_Classifier to cope with intersection of huge number of wires
 #####################################
 
+cpulimt 2500
+
 restore [locate_data_file bug24968_Shape_1.brep] result
 
 tclean result
@@ -19,9 +21,9 @@ regexp {CPU user time: ([-0-9.+eE]+) seconds} ${info} full cpu_time
 
 if { [regexp {Debug mode} [dversion]] } {
   if { [regexp {Windows} [dversion]] } {
-    set max_time 100
+    set max_time 2500
   } else {
-    set max_time 250
+    set max_time 2500
   }
 } else {
   if { [regexp {Windows} [dversion]] } {
index 4a21d20c81b82435d5707399530d5d5ad9b37d31..0c21ea35ec41877c078136eba17fe6d02e17e7d5 100644 (file)
@@ -6,6 +6,8 @@ puts ""
 # Impove BRepMesh_Classifier to cope with intersection of huge number of wires
 #####################################
 
+cpulimit 2500
+
 restore [locate_data_file bug24968_Shape_1.brep] result
 
 tclean result
@@ -19,9 +21,9 @@ regexp {CPU user time: ([-0-9.+eE]+) seconds} ${info} full cpu_time
 
 if { [regexp {Debug mode} [dversion]] } {
   if { [regexp {Windows} [dversion]] } {
-    set max_time 100
+    set max_time 2500
   } else {
-    set max_time 250
+    set max_time 2500
   }
 } else {
   if { [regexp {Windows} [dversion]] } {
index ee1e56fd583894aa0a759de28cce3f9ea3fe38aa..1a567def7642df66ba39568f1731c61b877d4abc 100755 (executable)
@@ -1,5 +1,7 @@
 set TheFileName shading_wrongshape_015.brep
 set bug_withouttri "OCC22687"
-###set bug_freenodes "OCC23105"
-###set nbfreenodes(ALL) 4
+if { [string compare $command "shading"] != 0 } {
+   set bug_freenodes "OCC23105"
+   set nbfreenodes(ALL) 4
+}
 set nbwithouttri(All) 5