1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-21 10:55:33 +03:00

0023434: Generate images in lossless format (PNG) instead of lossy GIF currently used in test log

This commit is contained in:
miv 2012-10-12 17:18:48 +04:00
parent 7da2a6ab87
commit 88f8fc8104
19 changed files with 25 additions and 25 deletions

2
tests/3rdparty/end vendored
View File

@ -1,4 +1,4 @@
vdump $imagedir/${test_image}.gif
vdump $imagedir/${test_image}.png
puts ""
puts "TEST COMPLETED"

View File

@ -23,7 +23,7 @@ if { [isdraw result] } {
smallview
donly result
fit
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
}
} else {
puts "Error : The blend can not be build."

View File

@ -68,7 +68,7 @@ if { [isdraw result] } {
donly a b
}
fit
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
} else {
puts "Error : The $command can not be build."
}

View File

@ -4,7 +4,7 @@ if { [isdraw result] } {
smallview
donly result
fit
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
}
if { [info exists 3dviewer] } {
vinit
@ -12,17 +12,17 @@ if { [isdraw result] } {
vdisplay result
vsetdispmode 1
vfit
vdump $imagedir/${test_image}.gif
vdump $imagedir/${test_image}.png
}
} else {
if { [info exists 3dviewer] } {
if { ${3dviewer} == 2 } {
vdump $imagedir/${test_image}.gif
vdump $imagedir/${test_image}.png
}
}
}
if { [info exist only_xwd] } {
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
}
#} else {
# puts "Error : The command can not be build."

View File

@ -4,6 +4,6 @@ if { [info exists CR22888_draw] } {
#vdisplay result
#vsetdispmode 1
#vfit
vdump $imagedir/${test_image}.gif
vdump $imagedir/${test_image}.png
}

View File

@ -5,4 +5,4 @@ if { [info exists imagedir] == 0 } {
if { [info exists test_image ] == 0 } {
set test_image photo
}
vdump $imagedir/${test_image}.gif
vdump $imagedir/${test_image}.png

View File

@ -34,5 +34,5 @@ if { [info exists test_image ] == 0 } {
set test_image photo
}
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
puts "TEST COMPLETED"

View File

@ -35,7 +35,7 @@ if { [isdraw result] } {
smallview
donly result
fit
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
}
} else {
puts "Error : The depouille can not be build."

View File

@ -24,7 +24,7 @@ if { [isdraw result] } {
smallview
donly result
fit
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
}
} else {
puts "Error : The feat can not be build."

View File

@ -6,5 +6,5 @@ if { [isdraw result] } {
puts "Error : result shape is not done."
}
fit
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
puts "TEST COMPLETED"

View File

@ -190,14 +190,14 @@ if { [info exists test_image ] == 0 } {
}
if { [string compare $command "shading"] == 0 } {
vdump $imagedir/${test_image}.gif
vdump $imagedir/${test_image}.png
} else {
isos 0
smallview
donly res
fit
triangles res
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
}
puts ""

View File

@ -44,7 +44,7 @@ if { [isdraw result] } {
clear
donly result
fit
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
} else {
puts "Error : The mkface can not be build."

View File

@ -30,12 +30,12 @@ if { [isdraw result] } {
clear
donly result
fit
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
} else {
smallview
clear
fit
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
}
} else {
puts "Error : The $command can not be build."

View File

@ -137,7 +137,7 @@ if { [isdraw result] && $mist == 0} {
smallview
donly result
fit
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
}
} else {
puts "Error : The offset can not be build."

View File

@ -19,7 +19,7 @@ if { [isdraw result] } {
smallview
donly result
fit
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
}
} else {
puts "Error : The pipe can not be build."

View File

@ -7,7 +7,7 @@ if { [isdraw result] } {
smallview
donly result
fit
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
} else {
puts "Error : The prism can not be build."
}

View File

@ -64,7 +64,7 @@ if { [isdraw result] } {
donly result
checkshape result
fit
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
} else {
puts "Error : The sewing can not be build."
}

View File

@ -29,12 +29,12 @@ if { [isdraw result] } {
clear
donly result
fit
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
} else {
smallview
clear
fit
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
}
} else {
puts "Error : The $command can not be build."

View File

@ -923,7 +923,7 @@ if {[isdraw result]} {
smallview
donly result
fit
xwd $imagedir/${test_image}.gif
xwd $imagedir/${test_image}.png
}
if {[expr $ErrorCode == 2]} {