1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00

Adjusting testing cases for current state of OCCT

This commit is contained in:
bugmaster 2012-10-16 14:35:59 +04:00
parent 2277323d3a
commit 64f4825861
9 changed files with 18 additions and 11 deletions

View File

@ -8,10 +8,13 @@ puts ""
isos 2 isos 2
smallview smallview
if [catch { restore [locate_data_file CR23416-ProblemFace.brep] result } res] { set info [restore [locate_data_file CR23416-ProblemFace.brep] result]
set check_error [lsearch $info exception]
if { $check_error != -1 } {
puts "Error : crashes during visualization" puts "Error : crashes during visualization"
} }
fit fit
set only_xwd 1 set only_xwd 1

View File

@ -6,7 +6,7 @@ puts ""
# Class BRepAlgoAPI_Cut does not made correct result on attached shapes. # Class BRepAlgoAPI_Cut does not made correct result on attached shapes.
########################################################################################################## ##########################################################################################################
restore [locate_data_file CR23137-bspl_cut.brep] b restore [locate_data_file bug23137_bspl_cut.brep] b
explode b explode b
copy b_1 b1 copy b_1 b1
copy b_2 b2 copy b_2 b2

View File

@ -6,7 +6,7 @@ puts ""
# Class BRepAlgoAPI_Cut does not made correct result on attached shapes. # Class BRepAlgoAPI_Cut does not made correct result on attached shapes.
########################################################################################################## ##########################################################################################################
restore [locate_data_file CR23137-rev_cut.brep] b restore [locate_data_file bug23137_rev_cut.brep] b
explode b explode b
copy b_1 b1 copy b_1 b1
copy b_2 b2 copy b_2 b2

View File

@ -6,7 +6,7 @@ puts ""
# Problem with BRepOffset_MakeOffset on a cylindrical face # Problem with BRepOffset_MakeOffset on a cylindrical face
########################################################################################################## ##########################################################################################################
restore [locate_data_file CR23394-Circular_tube.brep] sh1 restore [locate_data_file bug23394_Circular_tube.brep] sh1
thickshell result sh1 5 thickshell result sh1 5

View File

@ -6,5 +6,6 @@ puts ""
# diffimage generate OSD_Exception during execution # diffimage generate OSD_Exception during execution
####################################################################### #######################################################################
diffimage [locate_data_file CR23425-B8_Linux.gif] [locate_data_file CR23425-B8_Win.gif] 0.01 0 1 diffimage [locate_data_file bug23425_B8_Linux.gif] [locate_data_file bug23425_B8_Win.gif] 0.01 0 1
diffimage [locate_data_file CR23425-B8_Win.gif] [locate_data_file CR23425-B8_Linux.gif] 0.01 0 1 diffimage [locate_data_file bug23425_B8_Win.gif] [locate_data_file bug23425_B8_Linux.gif] 0.01 0 1

View File

@ -12,14 +12,15 @@ if { [string compare $command chamf_sequence] == 0 } {
set os $env(os_type) set os $env(os_type)
} }
if { [string compare ${os} "Windows-64-VC9"] != 0 && [string compare ${os} "Windows-64-VC10"] != 0} { if { [string compare ${os} "Windows-64-VC9"] != 0 && [string compare ${os} "Windows-64-VC10"] != 0} {
set nf 1 set nf 0
if { [string compare $group equal_dist] == 0 } { if { [string compare $group equal_dist] == 0 } {
if {[string compare $os "Debian40"] == 0 || [string compare $os "Mandriva2008"] == 0 || [string compare $os "Mandriva2010"] == 0} { if {[string compare $os "Debian40"] == 0 || [string compare $os "Mandriva2008"] == 0 || [string compare $os "Mandriva2010"] == 0} {
set nf 4 set nf 4
} }
} }
if { [string compare $group dist_dist] == 0 && [string compare $os "Mandriva2010"] == 0 } { if { [string compare $group dist_dist] == 0 && [string compare $os "Mandriva2010"] == 0 } {
set nf 2 ##set nf 2
set nf 0
} }
if { $nf != 0 } { if { $nf != 0 } {
#puts "TODO OCC22909 $os:Faulty shapes in variables faulty_1 to faulty_$nf" #puts "TODO OCC22909 $os:Faulty shapes in variables faulty_1 to faulty_$nf"

View File

@ -1,5 +1,6 @@
if { [string compare $command "ShapeConvertRev"] == 0 } { if { [string compare $command "ShapeConvertRev"] == 0 } {
puts "TODO OCC23127 ALL: Error : The square of result shape is" ## Dont reproduced IR-2012-10-15-IR-2012-10-12
## puts "TODO OCC23127 ALL: Error : The square of result shape is"
} }
restore [locate_data_file CTO904_cts20549b.rle] a restore [locate_data_file CTO904_cts20549b.rle] a

View File

@ -10,7 +10,8 @@ puts "TODO OCC23213 ALL: Error : Compared documents have different LAYERS for sh
puts "TODO OCC23213 ALL: Error : Compared documents have different LAYERS for shape located on 0:1:1:18 label" puts "TODO OCC23213 ALL: Error : Compared documents have different LAYERS for shape located on 0:1:1:18 label"
puts "TODO OCC23213 ALL: Error : Compared documents have different LAYERS for shape located on 0:1:1:23 label" ###don't reproduced IR-2012-10-15-IR-2012-10-12
###puts "TODO OCC23213 ALL: Error : Compared documents have different LAYERS for shape located on 0:1:1:23 label"
puts "TODO OCC23213 ALL: Error : errors occur during test" puts "TODO OCC23213 ALL: Error : errors occur during test"

View File

@ -1,4 +1,4 @@
ReadIges D_First [locate_data_file Samtech_Disc.igs] ReadIges D_First [locate_data_file Disc.igs]
set TypeOfFile "" set TypeOfFile ""
set AddToDocument "" set AddToDocument ""
set CompareDocumentsMode "ALL CHECKSHAPE" set CompareDocumentsMode "ALL CHECKSHAPE"