b8f2022f |
1 | puts "==========" |
2 | puts "OCC25176" |
3 | puts "==========" |
4 | puts "" |
5 | ###################################################################### |
6 | # STEP Reader - no error report if referenced entity has wrong type |
7 | ###################################################################### |
8 | |
b8f2022f |
9 | stepread [locate_data_file bug25176_occ25176.stp] step * |
b8f2022f |
10 | set Log [data c] |
b8f2022f |
11 | |
12 | if {![regexp {F:APPLICATION_PROTOCOL_DEFINITION: Parameter n0.4} $Log]} { |
13 | puts "Error: wrong report on wrong type entity" |
14 | } else { |
15 | puts "OK: correct report on wrong type entity" |
16 | } |