1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/moddata_3/bug25892_01
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

24 lines
598 B
Plaintext

puts "REQUIRED All: Projection Failed"
puts "============"
puts "OCC25892"
puts "============"
puts ""
#######################################################################
# Wrong result obtained by projection algorithm.
#######################################################################
restore [locate_data_file bug25892_c001] c
restore [locate_data_file bug25892_f001] f
mksurface s f
# Projection should fail due to big distance between curve and surface
catch {project cx c s}
#v2d2
view 1 -2D- 728 20 400 400
2dfit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png