5 ###################################################################################
6 # Building of triangulation for distored surfaces can take very long using BRepMesh_IncrementalMesh
8 # Test case was created to control bad situation, building of triangulation takes
9 # very long time and it is expected by the meaning of issue #25378.
10 # Case when it is passed too fast should be considered as failure.
11 ###################################################################################
15 restore [locate_data_file bug25378_Blower_bad.brep] b
19 set t_1 [expr [lindex [time {incmesh b 0.1}] 0]/1000000]
23 if { [regexp {Debug mode} [dversion]] } {
26 if { [regexp {Windows} [dversion]] } {
33 if {${max_t_1} > ${t_1}} {
34 puts "Error. Time of building of triangulation, ${t_1} seconds, is less than expected minimum time - ${max_t_1} seconds"