1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0023803: Mess with snapshot images in the test case reports

Adding a caption (the file name) to each image included in the HTML test log
This commit is contained in:
abv 2013-02-28 14:00:27 +04:00
parent b1fa9f3841
commit 3b21f8ae43

View File

@ -1175,7 +1175,7 @@ proc _log_html {file log {title {}}} {
# add images if present
set imgbasename [file rootname [file tail $file]]
foreach img [lsort [glob -nocomplain -directory [file dirname $file] -tails ${imgbasename}*.gif ${imgbasename}*.png ${imgbasename}*.jpg]] {
puts $fd "<p><img src=\"$img\"/><p>"
puts $fd "<p>[file tail $img]<br><img src=\"$img\"/><p>"
}
# print log body, trying to add HTML links to script files on lines like