f1baf495 |
1 | puts "============" |
2 | puts "OCC24157" |
3 | puts "============" |
4 | puts "" |
5 | ############################################ |
6 | # Parallelization of assembly part of BO |
7 | ############################################ |
8 | |
9 | restore [locate_data_file bug24157_x_512_solids] b1 |
10 | bclearobjects |
11 | bcleartools |
12 | baddcompound b1 |
13 | bfillds |
14 | |
15 | regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time |
16 | |
f49c3109 |
17 | if { [regexp {Debug mode} [dversion]] } { |
c9fb8529 |
18 | set check_time 50 |
f49c3109 |
19 | } else { |
20 | set check_time 16 |
21 | } |
22 | if { $tps_time > $check_time } { |
f1baf495 |
23 | puts "Error: low performance" |
24 | } else { |
25 | puts "OK: high performance" |
26 | } |
27 | |
5747059b |
28 | checkview -display result -2d -path ${imagedir}/${test_image}.png |