mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-30 13:05:50 +03:00
All uses of "MDTV-Standard" and "MDTV-Design" in tests changed to "BinOcaf", and "MDTV-XCAF" changed to "BinXCAF". Formats changed: .std to .cbf, .dxc to .dbf. Test groups renamed accordingly: xcaf: brep_to_dxc -> brep_to_xbf, igs_to_dxc -> igs_to_xbf, stp_to_dxc -> stp_to_xbf, dxc -> xbf/A1, dxc_add_CL -> xbf_add_CL xml: ocaf_std -> ocaf_cbf, xcaf_dxc -> xcaf_xbf
32 lines
647 B
Plaintext
Executable File
32 lines
647 B
Plaintext
Executable File
puts "================"
|
|
puts "OCC22788"
|
|
puts "================"
|
|
puts ""
|
|
#######################################################################################
|
|
# Exception during closing of document due to corrupted memory.
|
|
######################################################################################
|
|
|
|
set BugNumber OCC22788
|
|
|
|
set aFile [locate_data_file OCC22788.cbf]
|
|
|
|
Open ${aFile} D
|
|
|
|
GetShape D 0:2 result
|
|
smallview
|
|
fit
|
|
|
|
set catch_status 0
|
|
if { [catch {Close D} catch_result] } {
|
|
set catch_status 1
|
|
}
|
|
|
|
if { ${catch_status} != 0 } {
|
|
puts "Faulty ${BugNumber}"
|
|
} else {
|
|
puts "OK ${BugNumber}"
|
|
}
|
|
|
|
set square 220000
|
|
set 2dviewer 0
|