1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
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

15 lines
371 B
Plaintext

# ====================================
## Grid : CFI900
## Test : M4
## Comment : from cts21363
## ====================================
puts "TODO OCC22817 All:exception.+There are no suitable edges"
puts "TODO OCC22817 All:TEST INCOMPLETE"
restore [locate_data_file cts21363.rle] a
explode a e
blend result a 0.2 a_24
# value of 0.1 works
checkprops result -s 0