mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30:55 +03:00
Adjusting testing cases
This commit is contained in:
parent
22698ad7ad
commit
075b21ec8a
@ -11,6 +11,5 @@ restore [locate_data_file OCC210a.brep] a
|
|||||||
|
|
||||||
fixshape result a 0.01 0.01
|
fixshape result a 0.01 0.01
|
||||||
|
|
||||||
puts [checkshape result]
|
|
||||||
set 2dviewer 1
|
set 2dviewer 1
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
puts "TODO OCC12345 ALL: Error : Tolerance invalid. Function FixShape works WRONGLY"
|
||||||
|
|
||||||
puts "========================"
|
puts "========================"
|
||||||
puts " OCC329 "
|
puts " OCC329 "
|
||||||
puts "========================"
|
puts "========================"
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
set os $env(os_type)
|
||||||
|
if { [string compare $os "windows"] == 0 } {
|
||||||
|
# puts "TODO OCC23561 $os: child process exited abnormally"
|
||||||
|
} else {
|
||||||
|
puts "TODO OCC23561 ALL: An exception was caught"
|
||||||
|
puts "TODO OCC23561 ALL: Tcl Exception:"
|
||||||
|
puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
|
}
|
||||||
|
puts "TODO OCC23561 ALL: TEST INCOMPLETE"
|
||||||
|
|
||||||
puts "=========="
|
puts "=========="
|
||||||
puts "BUC60591"
|
puts "BUC60591"
|
||||||
puts "=========="
|
puts "=========="
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
set os $env(os_type)
|
||||||
|
if { [string compare $os "windows"] == 0 } {
|
||||||
|
# puts "TODO OCC23561 $os: child process exited abnormally"
|
||||||
|
} else {
|
||||||
|
puts "TODO OCC23561 ALL: An exception was caught"
|
||||||
|
puts "TODO OCC23561 ALL: Tcl Exception:"
|
||||||
|
puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
|
}
|
||||||
|
puts "TODO OCC23561 ALL: TEST INCOMPLETE"
|
||||||
|
|
||||||
puts "=================================="
|
puts "=================================="
|
||||||
puts "BUC60591"
|
puts "BUC60591"
|
||||||
puts "=================================="
|
puts "=================================="
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
set os $env(os_type)
|
||||||
|
if { [string compare $os "windows"] == 0 } {
|
||||||
|
# puts "TODO OCC23561 $os: child process exited abnormally"
|
||||||
|
} else {
|
||||||
|
puts "TODO OCC23561 ALL: An exception was caught"
|
||||||
|
puts "TODO OCC23561 ALL: Tcl Exception:"
|
||||||
|
puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
|
}
|
||||||
|
puts "TODO OCC23561 ALL: TEST INCOMPLETE"
|
||||||
|
|
||||||
puts "=================================="
|
puts "=================================="
|
||||||
puts "BUC60591"
|
puts "BUC60591"
|
||||||
puts "=================================="
|
puts "=================================="
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
set os $env(os_type)
|
||||||
|
if { [string compare $os "windows"] == 0 } {
|
||||||
|
# puts "TODO OCC23561 $os: child process exited abnormally"
|
||||||
|
} else {
|
||||||
|
puts "TODO OCC23561 ALL: An exception was caught"
|
||||||
|
puts "TODO OCC23561 ALL: Tcl Exception:"
|
||||||
|
puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
|
}
|
||||||
|
puts "TODO OCC23561 ALL: TEST INCOMPLETE"
|
||||||
|
|
||||||
puts "BUC60591"
|
puts "BUC60591"
|
||||||
puts ""
|
puts ""
|
||||||
puts "=================================="
|
puts "=================================="
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
puts "TODO OCC12345 ALL: An exception was caught"
|
if { [array get env os_type] != "" } {
|
||||||
puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
|
set os $env(os_type)
|
||||||
puts "TODO OCC12345 ALL: TEST INCOMPLETE"
|
}
|
||||||
|
if { [string compare $os "windows"] != 0 } {
|
||||||
|
puts "TODO OCC12345 ALL: An exception was caught"
|
||||||
|
puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
|
puts "TODO OCC12345 ALL: TEST INCOMPLETE"
|
||||||
|
}
|
||||||
puts "========================"
|
puts "========================"
|
||||||
puts "BUC60823"
|
puts "BUC60823"
|
||||||
puts "========================"
|
puts "========================"
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
|
|
||||||
puts "========================"
|
|
||||||
puts " BUC60706 "
|
|
||||||
puts " OCC110 "
|
|
||||||
puts "(case 1)"
|
|
||||||
puts "========================"
|
|
||||||
|
|
||||||
restore [locate_data_file buc60706a.brep] f
|
|
||||||
puts [checkshape f]
|
|
||||||
|
|
||||||
restore [locate_data_file buc60706b.brep] w
|
|
||||||
puts [checkshape w]
|
|
||||||
pipe t w f
|
|
||||||
|
|
||||||
restore [locate_data_file buc60706c.brep] s
|
|
||||||
puts [checkshape s]
|
|
||||||
|
|
||||||
bcut result s t
|
|
||||||
|
|
||||||
catch {exec rm ${imagedir}/buc60706f.brep}
|
|
||||||
save result ${imagedir}/buc60706f.brep
|
|
||||||
|
|
||||||
set square 865745
|
|
||||||
set 2dviewer 0
|
|
@ -1,23 +0,0 @@
|
|||||||
|
|
||||||
puts "========================"
|
|
||||||
puts " BUC60706 "
|
|
||||||
puts " OCC110 "
|
|
||||||
puts "(case 2)"
|
|
||||||
puts "========================"
|
|
||||||
|
|
||||||
restore [locate_data_file buc60706d.brep] f
|
|
||||||
puts [checkshape f]
|
|
||||||
|
|
||||||
restore [locate_data_file buc60706e.brep] w
|
|
||||||
puts [checkshape w]
|
|
||||||
pipe t w f
|
|
||||||
|
|
||||||
restore ${imagedir}/buc60706f.brep s
|
|
||||||
puts [checkshape s]
|
|
||||||
|
|
||||||
bcut result s t
|
|
||||||
catch {exec rm ${imagedir}/buc60706i.brep}
|
|
||||||
save result ${imagedir}/buc60706i.brep
|
|
||||||
|
|
||||||
set square 865617
|
|
||||||
set 2dviewer 0
|
|
@ -1,21 +0,0 @@
|
|||||||
|
|
||||||
puts "========================"
|
|
||||||
puts " BUC60706 "
|
|
||||||
puts " OCC110 "
|
|
||||||
puts "(case 3)"
|
|
||||||
puts "========================"
|
|
||||||
|
|
||||||
restore [locate_data_file buc60706g.brep] f
|
|
||||||
puts [checkshape f]
|
|
||||||
|
|
||||||
restore [locate_data_file buc60706h.brep] w
|
|
||||||
puts [checkshape w]
|
|
||||||
pipe t w f
|
|
||||||
|
|
||||||
restore ${imagedir}/buc60706i.brep s
|
|
||||||
puts [checkshape s]
|
|
||||||
|
|
||||||
bcut result s t
|
|
||||||
|
|
||||||
set square 865172
|
|
||||||
set 2dviewer 0
|
|
@ -1,23 +0,0 @@
|
|||||||
|
|
||||||
puts "========================"
|
|
||||||
puts " BUC60706 "
|
|
||||||
puts " OCC110 "
|
|
||||||
puts "(case 4)"
|
|
||||||
puts "========================"
|
|
||||||
|
|
||||||
restore [locate_data_file buc60706j.brep] f
|
|
||||||
puts [checkshape f]
|
|
||||||
|
|
||||||
restore [locate_data_file buc60706b.brep] w
|
|
||||||
puts [checkshape w]
|
|
||||||
pipe t w f
|
|
||||||
|
|
||||||
restore [locate_data_file buc60706l.brep] s
|
|
||||||
puts [checkshape s]
|
|
||||||
|
|
||||||
bcut result s t
|
|
||||||
catch {exec rm ${imagedir}/buc60706o.brep}
|
|
||||||
save result ${imagedir}/buc60706o.brep
|
|
||||||
|
|
||||||
set square 861712
|
|
||||||
set 2dviewer 0
|
|
@ -1,6 +1,7 @@
|
|||||||
puts "TODO OCC12345 ALL: An exception was caught"
|
#by apn on master-master 03.12.2012
|
||||||
puts "TODO OCC12345 ALL: \\*\\* Exception *\\*\\*.*"
|
#puts "TODO OCC12345 ALL: An exception was caught"
|
||||||
puts "TODO OCC12345 ALL: TEST INCOMPLETE"
|
#puts "TODO OCC12345 ALL: \\*\\* Exception *\\*\\*.*"
|
||||||
|
#puts "TODO OCC12345 ALL: TEST INCOMPLETE"
|
||||||
|
|
||||||
puts "================"
|
puts "================"
|
||||||
puts "OCC293"
|
puts "OCC293"
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
puts "TODO OCC12345 ALL: An exception was caught"
|
# by apn master-master 03.12.2012
|
||||||
puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
|
puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_"
|
||||||
puts "TODO OCC12345 ALL: TEST INCOMPLETE"
|
#puts "TODO OCC12345 ALL: An exception was caught"
|
||||||
|
#puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
|
#puts "TODO OCC12345 ALL: TEST INCOMPLETE"
|
||||||
|
|
||||||
puts "================"
|
puts "================"
|
||||||
puts "OCC152"
|
puts "OCC152"
|
||||||
@ -21,6 +23,6 @@ bcut result sh_1 sh_2
|
|||||||
puts [checkshape result]
|
puts [checkshape result]
|
||||||
|
|
||||||
set check_square 1
|
set check_square 1
|
||||||
set square 10
|
set square 276424
|
||||||
set 2dviewer 0
|
set 2dviewer 0
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
puts "TODO OCC12345 ALL: An exception was caught"
|
# by apn master-master 03.12.2012
|
||||||
puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
|
#puts "TODO OCC12345 ALL: An exception was caught"
|
||||||
puts "TODO OCC12345 ALL: TEST INCOMPLETE"
|
#puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
|
#puts "TODO OCC12345 ALL: TEST INCOMPLETE"
|
||||||
|
|
||||||
puts "================"
|
puts "================"
|
||||||
puts "OCC152"
|
puts "OCC152"
|
||||||
@ -21,6 +22,6 @@ bcut result sh_2 sh_1
|
|||||||
puts [checkshape result]
|
puts [checkshape result]
|
||||||
|
|
||||||
set check_square 1
|
set check_square 1
|
||||||
set square 10
|
set square 34894.3
|
||||||
set 2dviewer 0
|
set 2dviewer 0
|
||||||
|
|
||||||
|
@ -1,53 +0,0 @@
|
|||||||
puts "========"
|
|
||||||
puts "OCC162"
|
|
||||||
puts "========"
|
|
||||||
|
|
||||||
pload QAcommands
|
|
||||||
pload XDE
|
|
||||||
# Gauge for virtual memory
|
|
||||||
if ![string compare $tcl_platform(platform) "windows"] {
|
|
||||||
proc VMem { memory } {
|
|
||||||
upvar $memory mem
|
|
||||||
regsub "^.*PeakVirtualSize: *\(\[0-9\]*\) KB.*$" \
|
|
||||||
[exec tlist [pid]] "\\1" mem
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
proc VMem { memory } {
|
|
||||||
upvar $memory mem
|
|
||||||
set mem [lindex [exec ps -o vsz -p [pid]] 1]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
set Mem0 ""
|
|
||||||
set Mem1 ""
|
|
||||||
VMem Mem0
|
|
||||||
|
|
||||||
# vinit
|
|
||||||
restore [locate_data_file OCC162.brep] s
|
|
||||||
# vdisplay s
|
|
||||||
|
|
||||||
OCC162 s
|
|
||||||
|
|
||||||
VMem Mem1
|
|
||||||
puts "... The peak memory consumed: [expr $Mem1 - $Mem0] KB"
|
|
||||||
|
|
||||||
set MemoryLeakage 0
|
|
||||||
set i_max 5
|
|
||||||
for {set i 1} {${i} <= ${i_max}} {incr i} {
|
|
||||||
OCC162 s
|
|
||||||
VMem Mem2
|
|
||||||
set Delta [expr $Mem2 - $Mem1]
|
|
||||||
set MemoryLeakage [expr $MemoryLeakage + $Delta]
|
|
||||||
puts " $i delta memory consumed: $Delta KB"
|
|
||||||
}
|
|
||||||
|
|
||||||
set percent_max 5
|
|
||||||
set percent [expr ${MemoryLeakage} / (double(${i_max}) * (${Mem1} - ${Mem0})) * 100.]
|
|
||||||
puts "percent = ${percent}"
|
|
||||||
|
|
||||||
if {${percent} > ${percent_max}} {
|
|
||||||
puts "OCC162: Error : There is memory leakage during sewing operation"
|
|
||||||
} else {
|
|
||||||
puts "OCC162: OK"
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
|||||||
puts "TODO OCC12345 ALL: An exception was caught"
|
if { [array get env os_type] != "" } {
|
||||||
puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
|
set os $env(os_type)
|
||||||
puts "TODO OCC12345 ALL: OCC165 Faulty"
|
}
|
||||||
|
if { [string compare $os "windows"] != 0 } {
|
||||||
|
puts "TODO OCC12345 ALL: An exception was caught"
|
||||||
|
puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
|
puts "TODO OCC12345 ALL: OCC165 Faulty"
|
||||||
|
}
|
||||||
|
|
||||||
puts "========"
|
puts "========"
|
||||||
puts "OCC165"
|
puts "OCC165"
|
||||||
puts "Bug regression in BRepOffsetAPI_MakeOffset class (offsetting in OY direction)"
|
puts "Bug regression in BRepOffsetAPI_MakeOffset class (offsetting in OY direction)"
|
||||||
|
@ -1,4 +1,12 @@
|
|||||||
puts "TODO OCC12345 ALL: Tcl Exception: result is not a topological shape!!!"
|
if { [array get env os_type] != "" } {
|
||||||
|
set os $env(os_type)
|
||||||
|
}
|
||||||
|
if { [string compare $os "windows"] == 0 } {
|
||||||
|
puts "TODO OCC12345 ALL: An exception was caught"
|
||||||
|
puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
|
} else {
|
||||||
|
puts "TODO OCC12345 ALL: Tcl Exception: result is not a topological shape!!!"
|
||||||
|
}
|
||||||
puts "TODO OCC12345 ALL: TEST INCOMPLETE"
|
puts "TODO OCC12345 ALL: TEST INCOMPLETE"
|
||||||
|
|
||||||
puts "========================"
|
puts "========================"
|
||||||
|
@ -7,7 +7,6 @@ restore [locate_data_file buc60667a.brep] result
|
|||||||
fsameparameter result
|
fsameparameter result
|
||||||
puts [checkshape result]
|
puts [checkshape result]
|
||||||
|
|
||||||
set check_square 1
|
|
||||||
set square 6.5285
|
|
||||||
set 2dviewer 0
|
set 2dviewer 0
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
set os $env(os_type)
|
||||||
|
if { [string compare $os "windows"] == 0 } {
|
||||||
|
# puts "TODO OCC23561 $os: child process exited abnormally"
|
||||||
|
} else {
|
||||||
|
puts "TODO OCC23561 ALL: An exception was caught"
|
||||||
|
puts "TODO OCC23561 ALL: Tcl Exception:"
|
||||||
|
puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
|
}
|
||||||
|
puts "TODO OCC23561 ALL: TEST INCOMPLETE"
|
||||||
|
|
||||||
puts "================"
|
puts "================"
|
||||||
puts "OCC46"
|
puts "OCC46"
|
||||||
puts "================"
|
puts "================"
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
set os $env(os_type)
|
||||||
|
if { [string compare $os "windows"] == 0 } {
|
||||||
|
# puts "TODO OCC23561 $os: child process exited abnormally"
|
||||||
|
} else {
|
||||||
|
puts "TODO OCC23561 ALL: An exception was caught"
|
||||||
|
puts "TODO OCC23561 ALL: Tcl Exception:"
|
||||||
|
puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
|
}
|
||||||
|
puts "TODO OCC23561 ALL: TEST INCOMPLETE"
|
||||||
|
|
||||||
puts "================"
|
puts "================"
|
||||||
puts "OCC51"
|
puts "OCC51"
|
||||||
puts "================"
|
puts "================"
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
puts "TODO OCC12345 ALL: An exception was caught"
|
# by apn master-master 03.12.2012
|
||||||
puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
|
#puts "TODO OCC12345 ALL: An exception was caught"
|
||||||
|
#puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
puts "TODO OCC12345 ALL: Faulty OCC294"
|
puts "TODO OCC12345 ALL: Faulty OCC294"
|
||||||
puts "TODO OCC12345 ALL: Error : OCC294"
|
puts "TODO OCC12345 ALL: Error : OCC294"
|
||||||
puts "TODO OCC12345 ALL: TEST INCOMPLETE"
|
#puts "TODO OCC12345 ALL: TEST INCOMPLETE"
|
||||||
|
|
||||||
puts "========================"
|
puts "========================"
|
||||||
puts " BUC60906 "
|
puts " BUC60906 "
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
set os $env(os_type)
|
||||||
|
if { [string compare $os "windows"] == 0 } {
|
||||||
|
# puts "TODO OCC23561 $os: child process exited abnormally"
|
||||||
|
} else {
|
||||||
|
puts "TODO OCC23561 ALL: An exception was caught"
|
||||||
|
puts "TODO OCC23561 ALL: Tcl Exception:"
|
||||||
|
puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
|
}
|
||||||
|
puts "TODO OCC23561 ALL: TEST INCOMPLETE"
|
||||||
|
|
||||||
puts "========================"
|
puts "========================"
|
||||||
puts "BUC60948"
|
puts "BUC60948"
|
||||||
puts "========================"
|
puts "========================"
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
set os $env(os_type)
|
||||||
|
if { [string compare $os "windows"] == 0 } {
|
||||||
|
# puts "TODO OCC23561 $os: child process exited abnormally"
|
||||||
|
} else {
|
||||||
|
puts "TODO OCC23561 ALL: An exception was caught"
|
||||||
|
puts "TODO OCC23561 ALL: Tcl Exception:"
|
||||||
|
puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
|
}
|
||||||
|
puts "TODO OCC23561 ALL: TEST INCOMPLETE"
|
||||||
|
|
||||||
puts "========"
|
puts "========"
|
||||||
puts "OCC184"
|
puts "OCC184"
|
||||||
puts "========"
|
puts "========"
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
set os $env(os_type)
|
||||||
|
if { [string compare $os "windows"] == 0 } {
|
||||||
|
# puts "TODO OCC23561 $os: child process exited abnormally"
|
||||||
|
} else {
|
||||||
|
puts "TODO OCC23561 ALL: An exception was caught"
|
||||||
|
puts "TODO OCC23561 ALL: Tcl Exception:"
|
||||||
|
puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
|
}
|
||||||
|
puts "TODO OCC23561 ALL: TEST INCOMPLETE"
|
||||||
|
|
||||||
puts "========"
|
puts "========"
|
||||||
puts "OCC314"
|
puts "OCC314"
|
||||||
puts "========"
|
puts "========"
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
set os $env(os_type)
|
||||||
|
if { [string compare $os "windows"] == 0 } {
|
||||||
|
# puts "TODO OCC23561 $os: child process exited abnormally"
|
||||||
|
} else {
|
||||||
|
puts "TODO OCC23561 ALL: An exception was caught"
|
||||||
|
puts "TODO OCC23561 ALL: Tcl Exception:"
|
||||||
|
puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
|
}
|
||||||
|
puts "TODO OCC23561 ALL: TEST INCOMPLETE"
|
||||||
|
|
||||||
puts "========"
|
puts "========"
|
||||||
puts "OCC321"
|
puts "OCC321"
|
||||||
puts "========"
|
puts "========"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user