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_5/bug23870_2
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

24 lines
683 B
Plaintext
Executable File

puts "TODO OCC24156 MacOS: An exception was caught"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
puts "============"
puts "0023870: Integration of new options of sweeping into BRepOffsetAPI_MakePipe algorithm"
puts "============"
puts ""
set BugNumber OCC23870
restore [locate_data_file bug23824_Case1_Path.brep] spine
restore [locate_data_file bug23824_Case1_Profile.brep] profile
wire spine spine
wire profile profile
pipe result spine profile 2 approx
checkprops result -s 8772.95
checkshape result
checknbshapes result -vertex 2 -edge 3 -wire 1 -face 1 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 8
checkview -display result -2d -path ${imagedir}/${test_image}.png