mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30:55 +03:00
0026513: Offset API not returning result (seems to be "hanging")
Test case for issue #26513 Update of test case for issue #26513
This commit is contained in:
parent
d0fdf9893d
commit
80dcde2ef3
32
tests/bugs/modalg_6/bug26513
Normal file
32
tests/bugs/modalg_6/bug26513
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
puts "========"
|
||||||
|
puts "OCC26513"
|
||||||
|
puts "========"
|
||||||
|
puts ""
|
||||||
|
###########################################################
|
||||||
|
# Offset API not returning result (seems to be "hanging")
|
||||||
|
###########################################################
|
||||||
|
|
||||||
|
set max_time 10
|
||||||
|
|
||||||
|
smallview
|
||||||
|
|
||||||
|
restore [locate_data_file bug26513-offset_input.brep] a
|
||||||
|
|
||||||
|
offsetparameter 1.e-7 c i
|
||||||
|
offsetload a 5
|
||||||
|
|
||||||
|
dchrono cr reset
|
||||||
|
dchrono cr start
|
||||||
|
offsetperform result
|
||||||
|
dchrono cr stop
|
||||||
|
|
||||||
|
set chrono_info [dchrono cr show]
|
||||||
|
regexp {CPU user time: ([-0-9.+eE]+) seconds} $chrono_info full CPU_time
|
||||||
|
if { $CPU_time > ${max_time} } {
|
||||||
|
puts "ERROR: OCC26513 is reproduced. Offset operation is too long (> $max_time sec)"
|
||||||
|
}
|
||||||
|
|
||||||
|
donly result
|
||||||
|
fit
|
||||||
|
|
||||||
|
set only_screen_axo 1
|
Loading…
x
Reference in New Issue
Block a user