0023793: Tests failing when launched without data files
[occt.git] / tests / bugs / iges / bug448
CommitLineData
e54706ed 1puts "TODO OCC12345 ALL: Faulty OCC448: shape number is wrong"
2
3puts "========"
4puts " OCC448 "
5puts "========"
6puts ""
7############################################
8## wrong translation IGES file in "Only visible" mode
9############################################
10
5d1833ef 11set filepath [locate_data_file Amino_172448-65210.igs]
12if [catch { set list [igesbrep $filepath a * ] } res] {
e54706ed 13 puts "Faulty OCC448: here is reading problem"
14} else {
15 tpcompound result
355c1551 16 set ll [llength $list]
17 set NbShapes [lindex $list [expr $ll - 1]]
e54706ed 18
19 #
20 # ATANTION!!!!!!! FOR TESTING !!!!!!!
21 #
22 set GoodNbShapes 1
23 if { $NbShapes != $GoodNbShapes } {
24 puts "NbShapes=$NbShapes"
25 puts "GoodNbShapes=$GoodNbShapes"
26 puts "Faulty OCC448: shape number is wrong"
27 }
28}
29
30set 2dviewer 0
31
355c1551 32