0026855: Draw commands to debug Boolean Operations Algorithm
[occt.git] / tests / bugs / moddata_1 / bug22165
CommitLineData
6d368502 1puts "REQUIRED All: 1 F: Syntax error in IGES file at line "
7faaccfd 2puts "================"
3puts "OCC22165"
4puts "================"
5puts ""
6#######################################################################################
7# IGES transaltor does not produce any shape
8######################################################################################
9
10set BugNumber OCC22165
11
12catch { pload XDE }
13
14igesbrep [locate_data_file OCC22165-cub_spain.igs] result *
15
16set Log [data c]
17
18set LogLength [llength ${Log}]
19
20if { ${LogLength} < 21 } {
21 puts "Bad format of data-command"
22 puts "Faulty ${BugNumber}"
23} else {
24 regexp -all {1[ \t]*F: Syntax error in IGES file at line ([-0-9.+eE]+) in section ([A-Z]).} $Log full word1 word2
a849d42d 25 if { ${word1} != "204" || ${word2} != "P" } {
7faaccfd 26 puts "Faulty ${BugNumber}"
27 }
28}
29