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:
parent
9a148b08df
commit
d4d12e8b20
@ -6,6 +6,8 @@ puts ""
|
|||||||
# Impove BRepMesh_Classifier to cope with intersection of huge number of wires
|
# Impove BRepMesh_Classifier to cope with intersection of huge number of wires
|
||||||
#####################################
|
#####################################
|
||||||
|
|
||||||
|
cpulimt 2500
|
||||||
|
|
||||||
restore [locate_data_file bug24968_Shape_1.brep] result
|
restore [locate_data_file bug24968_Shape_1.brep] result
|
||||||
|
|
||||||
tclean 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 {Debug mode} [dversion]] } {
|
||||||
if { [regexp {Windows} [dversion]] } {
|
if { [regexp {Windows} [dversion]] } {
|
||||||
set max_time 100
|
set max_time 2500
|
||||||
} else {
|
} else {
|
||||||
set max_time 250
|
set max_time 2500
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if { [regexp {Windows} [dversion]] } {
|
if { [regexp {Windows} [dversion]] } {
|
||||||
|
@ -6,6 +6,8 @@ puts ""
|
|||||||
# Impove BRepMesh_Classifier to cope with intersection of huge number of wires
|
# Impove BRepMesh_Classifier to cope with intersection of huge number of wires
|
||||||
#####################################
|
#####################################
|
||||||
|
|
||||||
|
cpulimit 2500
|
||||||
|
|
||||||
restore [locate_data_file bug24968_Shape_1.brep] result
|
restore [locate_data_file bug24968_Shape_1.brep] result
|
||||||
|
|
||||||
tclean 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 {Debug mode} [dversion]] } {
|
||||||
if { [regexp {Windows} [dversion]] } {
|
if { [regexp {Windows} [dversion]] } {
|
||||||
set max_time 100
|
set max_time 2500
|
||||||
} else {
|
} else {
|
||||||
set max_time 250
|
set max_time 2500
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if { [regexp {Windows} [dversion]] } {
|
if { [regexp {Windows} [dversion]] } {
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
set TheFileName shading_wrongshape_015.brep
|
set TheFileName shading_wrongshape_015.brep
|
||||||
set bug_withouttri "OCC22687"
|
set bug_withouttri "OCC22687"
|
||||||
###set bug_freenodes "OCC23105"
|
if { [string compare $command "shading"] != 0 } {
|
||||||
###set nbfreenodes(ALL) 4
|
set bug_freenodes "OCC23105"
|
||||||
|
set nbfreenodes(ALL) 4
|
||||||
|
}
|
||||||
set nbwithouttri(All) 5
|
set nbwithouttri(All) 5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user