0026342: No materials are read from STEP
[occt.git] / tests / bugs / moddata_1 / bug21858
CommitLineData
3bea4c16 1puts "============"
2puts "OCC21858"
3puts "============"
4puts ""
5####################################
6# Visualization hangs on this face ( OCC21858.brep )
7####################################
8
9set BugNumber OCC21858
10cpulimit 40
11restore [locate_data_file OCC21858.brep] result
12
13set length 6.48642
14
15set nb_v_good 9
16set nb_e_good 10
17set nb_w_good 1
18set nb_f_good 1
19set nb_sh_good 0
20set nb_sol_good 0
21set nb_compsol_good 0
22set nb_compound_good 0
23set nb_shape_good 21
24
25set only_screen 0
26
27vinit
28vsetdispmode 1
29dchrono TestTimer reset
30dchrono TestTimer start
31vdisplay result
32dchrono TestTimer stop
33vfit
34puts ""
35set time_o 0.1
36set tim [ dchrono TestTimer show ]
37regexp {Elapsed time: +([-0-9.+eE]+) Hours +([-0-9.+eE]+) Minutes +([-0-9.+eE]+) Seconds} $tim full hourVDisplay minuVDisplay secoVDisplay
38
39set timVDisplay [expr $hourVDisplay * 3600 + $minuVDisplay * 60 + $secoVDisplay ]
40
41if { ${tim} < ${time_o} } {
42 set chro "CHRONO : Faulty (${timVDisplay}%)"
43 set status 1
44 puts ${chro}
45} else {
46 puts "${BugNumber} OK"
47 set status 0
48}
49puts "timVDisplay = ${timVDisplay}"
50