mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-16 10:54:53 +03:00
Correction of testing cases
This commit is contained in:
parent
83a8694888
commit
4292bee12a
@ -6,7 +6,7 @@ puts ""
|
||||
# Fuse problem of symetrical shapes. Appendix for NPAL19789
|
||||
#######################################################################
|
||||
|
||||
cpulimit 1000
|
||||
cpulimit 2500
|
||||
set BugNumber OCC19793
|
||||
|
||||
puts "Load first shape ..."
|
||||
@ -41,21 +41,36 @@ set nb_shape_good 139
|
||||
# Performance verification of bop operation
|
||||
set chrono_info [dchrono perf_h show]
|
||||
regexp {CPU user time: ([-0-9.+eE]+) seconds} $chrono_info full CPU_time
|
||||
set currentOS $tcl_platform(os)
|
||||
if {[string compare $currentOS "Windows NT"] == 0} {
|
||||
puts "Checking WINDOWS performance..."
|
||||
# Initial CPU_time is 92-94 seconds for Windows
|
||||
if {$CPU_time > 200.} {
|
||||
puts "ERROR: OCC23753 is reproduced."
|
||||
puts " Low performance: $CPU_time"
|
||||
|
||||
if { [regexp {Debug mode} [dversion]] } {
|
||||
if { [regexp {Windows} [dversion]] } {
|
||||
puts "Checking WINDOWS performance..."
|
||||
if {$CPU_time > 1000.} {
|
||||
puts "ERROR: OCC23753 is reproduced."
|
||||
puts " Low performance: $CPU_time"
|
||||
}
|
||||
} else {
|
||||
puts "Checking LINUX performance..."
|
||||
if {$CPU_time > 2500.} {
|
||||
puts "ERROR: OCC23753 is reproduced."
|
||||
puts " Low performance: $CPU_time"
|
||||
}
|
||||
}
|
||||
}
|
||||
if {[string compare $currentOS "Linux"] == 0} {
|
||||
puts "Checking LINUX performance..."
|
||||
# Initial CPU_time is 287-289 seconds for Linux
|
||||
if {$CPU_time > 250.} {
|
||||
puts "ERROR: OCC23753 is reproduced."
|
||||
puts " Low performance: $CPU_time"
|
||||
} else {
|
||||
if { [regexp {Windows} [dversion]] } {
|
||||
puts "Checking WINDOWS performance..."
|
||||
# Initial CPU_time is 92-94 seconds for Windows
|
||||
if {$CPU_time > 200.} {
|
||||
puts "ERROR: OCC23753 is reproduced."
|
||||
puts " Low performance: $CPU_time"
|
||||
}
|
||||
} else {
|
||||
puts "Checking LINUX performance..."
|
||||
# Initial CPU_time is 287-289 seconds for Linux
|
||||
if {$CPU_time > 250.} {
|
||||
puts "ERROR: OCC23753 is reproduced."
|
||||
puts " Low performance: $CPU_time"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#puts "TODO OCC24074 Debian60-64 Windows: An exception was caught"
|
||||
puts "TODO OCC24074 Debian60-64 Windows: Error: Offset is not done"
|
||||
#puts "TODO OCC24074 Debian60-64 Windows: TEST INCOMPLETE"
|
||||
puts "TODO OCC24074 Debian60-64 Windows: TEST INCOMPLETE"
|
||||
|
||||
puts "============"
|
||||
puts "OCC24074"
|
||||
|
Loading…
x
Reference in New Issue
Block a user