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:
parent
7da2a6ab87
commit
88f8fc8104
2
tests/3rdparty/end
vendored
2
tests/3rdparty/end
vendored
@ -1,4 +1,4 @@
|
||||
vdump $imagedir/${test_image}.gif
|
||||
vdump $imagedir/${test_image}.png
|
||||
|
||||
puts ""
|
||||
puts "TEST COMPLETED"
|
||||
|
@ -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."
|
||||
|
@ -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."
|
||||
}
|
||||
|
@ -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."
|
||||
|
@ -4,6 +4,6 @@ if { [info exists CR22888_draw] } {
|
||||
#vdisplay result
|
||||
#vsetdispmode 1
|
||||
#vfit
|
||||
vdump $imagedir/${test_image}.gif
|
||||
vdump $imagedir/${test_image}.png
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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."
|
||||
|
@ -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."
|
||||
|
@ -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"
|
||||
|
@ -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 ""
|
||||
|
@ -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."
|
||||
|
@ -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."
|
||||
|
@ -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."
|
||||
|
@ -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."
|
||||
|
@ -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."
|
||||
}
|
||||
|
@ -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."
|
||||
}
|
||||
|
@ -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."
|
||||
|
@ -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]} {
|
||||
|
Loading…
x
Reference in New Issue
Block a user