1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/filling/bug22786
kgv d99f0355e3 0031731: Draw Harness - colorize errors and exception messages
Draw_Interpretor, CommandCmd() - catched exceptions and messages put into Tcl string result
before throwing a Tcl exception (return 1) are now print in intense red (using Message::SendFail()).
Duplication of exception message in std::cout and Tcl output has been removed.

Draw Harness plugins have been updated to use either Message::SendFail() or theDI instead of std::cout/std::cerr
for printing colored error message before throwing a Tcl exception.
2020-08-25 09:44:15 +03:00

29 lines
611 B
Plaintext

puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "============"
puts "0022786: 64bit issue in AdvApp2Var"
puts "============"
puts ""
set BugNumber OCC22786
restore [locate_data_file OCC22786-c.brep] c
explode c
gplate result 5 0 c_1 0 c_2 0 c_3 0 c_4 0 c_5 0
checkprops result -s 2.92409
checkshape result
checknbshapes result -vertex 4 -edge 4 -wire 1 -face 1 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 10
vinit
vdisplay c_1 c_2 c_3 c_4 c_5
vdisplay result
vsetdispmode 1
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png