1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/modalg_7/bug28150_1
apn 0e443e130c 0028097: Test system does not recognize 'fail...' messages as errors
Test parse rules are improved to recognize messages with word 'fail' or 'failure' as errors.
Test cases are corrected accordingly (TODO or REQUIRED statements added where fail messages were not noticed previously).
2018-03-26 15:40:11 +03:00

27 lines
600 B
Plaintext

puts "TODO CR29596 ALL: Warning: Intersection of pair of shapes has failed"
puts "========"
puts "OCC28150"
puts "========"
puts ""
#####################################################
# Exception is raised during Boolean operation
#####################################################
restore [locate_data_file bug28150_shapes.brep] b
explode b
bclearobjects
bcleartools
baddobjects b_1
baddtools b_2
bfillds
# Before fix: error
bbop result 0
checkshape result
checknbshapes result -wire 5 -face 2
checkprops result -s 14.5302
checkview -display result -2d -path ${imagedir}/${test_image}.png