1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-16 10:08:36 +03:00

Deleted unnecessary TODOs in test cases with improvements on MacOS platform. Small corrections of test cases for MacOS.

This commit is contained in:
apn 2014-04-18 14:37:15 +04:00
parent 871fa1038d
commit 5dc2ede9ad
8 changed files with 26 additions and 4 deletions

View File

@ -1,5 +1,3 @@
puts "TODO #23828 MacOS: Tcl Exception: null shapes are not allowed"
puts "TODO #23828 MacOS: TEST INCOMPLETE"
puts "TODO DEBUG_OCC24121 Debian60-64: Process killed by CPU limit" puts "TODO DEBUG_OCC24121 Debian60-64: Process killed by CPU limit"
puts "TODO DEBUG_OCC24121 Debian60-64: TEST INCOMPLETE" puts "TODO DEBUG_OCC24121 Debian60-64: TEST INCOMPLETE"

View File

@ -5,8 +5,8 @@ if {[array get env os_type] != ""} {
} }
if {[string compare $os "MacOS"] == 0} { if {[string compare $os "MacOS"] == 0} {
puts "TODO #23828 MacOS: Tcl Exception: sh is not a topological shape!!!" #puts "TODO #23828 MacOS: Tcl Exception: sh is not a topological shape!!!"
puts "TODO #23828 MacOS: TEST INCOMPLETE" #puts "TODO #23828 MacOS: TEST INCOMPLETE"
} else { } else {
#puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_" #puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_"
#puts "TODO OCC12345 ALL: Error : The square of result shape is" #puts "TODO OCC12345 ALL: Error : The square of result shape is"

View File

@ -42,6 +42,10 @@ if { [regexp {Debug mode} [dversion]] } {
} }
} }
if {[string compare $os "MacOS"] == 0} {
set max_time 100.0
}
if { $z > ${max_time} } { if { $z > ${max_time} } {
puts "Elapsed time is more than ${max_time} seconds - Faulty" puts "Elapsed time is more than ${max_time} seconds - Faulty"
} else { } else {

View File

@ -22,6 +22,10 @@ if { [regexp {Debug mode} [dversion]] } {
} }
} }
if {[string compare $os "MacOS"] == 0} {
set max_time 320
}
dchrono h reset dchrono h reset
dchrono h start dchrono h start

View File

@ -22,6 +22,10 @@ if { [regexp {Debug mode} [dversion]] } {
} }
} }
if {[string compare $os "MacOS"] == 0} {
set max_time 440
}
dchrono h reset dchrono h reset
dchrono h start dchrono h start

View File

@ -22,6 +22,10 @@ if { [regexp {Debug mode} [dversion]] } {
} }
} }
if {[string compare $os "MacOS"] == 0} {
set max_time 260
}
dchrono h reset dchrono h reset
dchrono h start dchrono h start

View File

@ -22,6 +22,10 @@ if { [regexp {Debug mode} [dversion]] } {
} }
} }
if {[string compare $os "MacOS"] == 0} {
set max_time 260
}
dchrono h reset dchrono h reset
dchrono h start dchrono h start

View File

@ -22,6 +22,10 @@ if { [regexp {Debug mode} [dversion]] } {
} }
} }
if {[string compare $os "MacOS"] == 0} {
set max_time 270
}
dchrono h reset dchrono h reset
dchrono h start dchrono h start