1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-16 10:54:53 +03:00

Modified cpulimits in test cases in Debug mode.

Modified test case mesh/data/standard/V4 for issue 24968.
This commit is contained in:
apn 2014-07-11 12:29:19 +04:00
parent 9a148b08df
commit d4d12e8b20
3 changed files with 12 additions and 6 deletions

View 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]] } {

View 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]] } {

View File

@ -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