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

20 lines
506 B
Plaintext

puts "TODO OCC26295 ALL: An exception was caught"
puts "TODO OCC26295 ALL: TEST INCOMPLETE"
puts "========"
puts "0026295: Sweep fails with BRepFill_ContactOnBorder"
puts "========"
puts ""
restore [locate_data_file bug26295_section.brep] section
restore [locate_data_file bug26295_profile1.brep] profile1
restore [locate_data_file bug26295_profile3.brep] profile3
explode section
explode profile1
explode profile3
mksweep profile1_1
addsweep section_1 -T -R
setsweep -G profile3_1 0 2
buildsweep sw -S