mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Splitting of subgroups bugs/modalg and bugs/moddata to optimise time of testing Correction of end file in group v3d Small correction of test case
35 lines
857 B
Plaintext
Executable File
35 lines
857 B
Plaintext
Executable File
puts "========================"
|
|
puts "OCC20616"
|
|
puts "========================"
|
|
puts ""
|
|
#######################################################################
|
|
# Failed to save/restore [locate_data_file empty] face
|
|
#######################################################################
|
|
|
|
set BugNumber OCC20616
|
|
|
|
set mistake 0
|
|
foreach t {V E W F Sh So CS C} {
|
|
puts "shape type $t"
|
|
shape test $t
|
|
if [catch {save test $imagedir/${test_image}.brep}] {
|
|
puts "Faulty ${BugNumber} save $t"
|
|
set mistake 1
|
|
} else {
|
|
puts "OK ${BugNumber} save $t"
|
|
}
|
|
if [catch {restore $imagedir/${test_image}.brep test}] {
|
|
puts "Faulty ${BugNumber} restore $t"
|
|
set mistake 1
|
|
} else {
|
|
puts "OK ${BugNumber} restore $t"
|
|
}
|
|
}
|
|
|
|
if {${mistake} !=0} {
|
|
puts "Faulty ${BugNumber}"
|
|
} else {
|
|
puts "OK ${BugNumber}"
|
|
}
|
|
|