1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/modalg_5/bug24157_3

29 lines
579 B
Plaintext

puts "============"
puts "OCC24157"
puts "============"
puts ""
############################################
# Parallelization of assembly part of BO
############################################
restore [locate_data_file bug24157_x_512_solids] b1
bclearobjects
bcleartools
baddcompound b1
bfillds
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
if { [regexp {Debug mode} [dversion]] } {
set check_time 50
} else {
set check_time 16
}
if { $tps_time > $check_time } {
puts "Error: low performance"
} else {
puts "OK: high performance"
}
set 2dviewer 1