0025987: Integration part of modified unstable test cases
[occt.git] / tests / bugs / mesh / bug24022
CommitLineData
a9e4846f 1puts "=========="
2puts "OCC24022"
3puts "=========="
4puts ""
5#####################################
6# Slow meshing in BRepMesh
7#####################################
8
9restore [locate_data_file bug24022_hung_mesh.brep] result
10tclean result
11dchrono h reset
12dchrono h start
13incmesh result 0.1
14dchrono h stop
15set info [dchrono h show]
16regexp {CPU user time: ([-0-9.+eE]+) seconds} $info full cpu_time
17if { $cpu_time > 3. } {
18 puts "Error : meshing is slow"
19} else {
20 puts "OK: meshing is quite fast"
21}
22vinit
23vdisplay result
24vfit
25vsetdispmode 1
26
27set only_screen 1
28
29
30