1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-01 17:36:21 +03:00
occt/tests/bugs/step/bug24135
2025-03-07 15:34:32 +00:00

28 lines
615 B
Plaintext
Executable File

puts "========"
puts "OCC24135"
puts "========"
puts ""
#######################################################################
# Result of reading step file is invalid.
#######################################################################
set BugNumber OCC24135
stepread [locate_data_file bug24135_Drum.stp] a *
set exception_status 0
set msg [ tpstat c ]
set index [ lsearch $msg Exception ]
if {$index > -1} {
set exception_status 1
}
if { ${exception_status} != 0 } {
puts "Faulty ${BugNumber}"
} else {
puts "OK ${BugNumber}"
}
checkview -display result -2d -path ${imagedir}/${test_image}.png