Adjusting testing cases for debug mode
[occt.git] / tests / bugs / modalg_5 / bug24157_1
CommitLineData
f1baf495 1puts "============"
2puts "OCC24157"
3puts "============"
4puts ""
5############################################
6# Parallelization of assembly part of BO
7############################################
8
9restore [locate_data_file bug24157_x_512_solids_glued] b1
10tcopy b1 b2
11ttranslate b2 3. 4. 5.
12bclearobjects
13bcleartools
14baddcompound b1
15baddcompound b2
16bfillds
17
18regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
19
f49c3109 20if { [regexp {Debug mode} [dversion]] } {
c9fb8529 21 set check_time 150
f49c3109 22} else {
23 set check_time 87
24}
25if { $tps_time > $check_time } {
f1baf495 26 puts "Error: low performance"
27} else {
28 puts "OK: high performance"
29}
30
31set 2dviewer 1