1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
occt/tests/bugs/fclasses/bug181_1

31 lines
803 B
Plaintext

puts "========"
puts "OCC181"
puts "OCC701"
puts "========"
######################################################
# Resource_Manager class doen't return status of saving resources in a file.
######################################################
# Add method BuildPath to OSD_Directory
######################################################
# Clear tmp-data
######################################################################
set tmp ${imagedir}
######################################################################
pload QAcommands
set log [OCC181 OCC181 ${imagedir} ${tmp}/1 0]
set list [split ${log}]
set ll [llength ${list}]
set status [lindex ${list} [expr ${ll} - 2] ]
if { ${status} == "TRUE"} then {
puts "OCC181: OK"
} else {
puts "OCC181: Error"
}
file delete -force ${tmp}/1