1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-02 17:46:22 +03:00
occt/tests/bugs/vis/bug23065
apn 809eca9db6 Added test cases to folders /bugs/modalg and /bugs/moddata from chl grid.
Modified TODO in some offset cases.
Deleted the same test cases bug697_* in /bugs/modalg
Deleted test cases which is based on v2d commands
Added test cases to folder bugs
2013-01-25 16:22:41 +04:00

35 lines
856 B
Plaintext
Executable File

puts "================"
puts "OCC23065"
puts "================"
puts ""
##########################################################################################
# This is desirable to add general DRAW command to estimate visualization performance
##########################################################################################
set BugNumber OCC23065
vinit
set Log [vfps]
set status 0
if { [llength ${Log}] == 5} {
set word1 [string compare [lindex ${Log} end] "msec"]
set word2 [string compare [lindex ${Log} end-2] "CPU:"]
set word3 [string compare [lindex ${Log} end-4] "FPS:"]
if { ${word1} == 0 && ${word2} == 0 && ${word3} == 0 } {
set status 0
} else {
set status 1
}
} else {
set status 1
}
# Resume
puts ""
if { ${status} == 0 } {
puts "OK ${BugNumber}"
} else {
puts "Faulty ${BugNumber}"
}