From 88f8fc810494f93bf054be234233bd9f93fd0031 Mon Sep 17 00:00:00 2001 From: miv Date: Fri, 12 Oct 2012 17:18:48 +0400 Subject: [PATCH] 0023434: Generate images in lossless format (PNG) instead of lossy GIF currently used in test log --- tests/3rdparty/end | 2 +- tests/blend/end | 2 +- tests/boolean/end | 2 +- tests/bugs/end | 8 ++++---- tests/bugs/iges/end | 2 +- tests/caf/presentation/end | 2 +- tests/chamfer/end | 2 +- tests/draft/end | 2 +- tests/feat/end | 2 +- tests/heal/end | 2 +- tests/mesh/end | 4 ++-- tests/mkface/end | 2 +- tests/nproject/end | 4 ++-- tests/offset/end | 2 +- tests/pipe/end | 2 +- tests/prism/end | 2 +- tests/sewing/end | 2 +- tests/thrusection/end | 4 ++-- tests/xcaf/end | 2 +- 19 files changed, 25 insertions(+), 25 deletions(-) diff --git a/tests/3rdparty/end b/tests/3rdparty/end index 94ae5657f1..a818ecc36c 100755 --- a/tests/3rdparty/end +++ b/tests/3rdparty/end @@ -1,4 +1,4 @@ -vdump $imagedir/${test_image}.gif +vdump $imagedir/${test_image}.png puts "" puts "TEST COMPLETED" diff --git a/tests/blend/end b/tests/blend/end index 16eadc7148..41f314c2a0 100644 --- a/tests/blend/end +++ b/tests/blend/end @@ -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." diff --git a/tests/boolean/end b/tests/boolean/end index 0ff1bc857a..bc8b9ae8ea 100755 --- a/tests/boolean/end +++ b/tests/boolean/end @@ -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." } diff --git a/tests/bugs/end b/tests/bugs/end index 014f78ba51..c0d6f2d670 100755 --- a/tests/bugs/end +++ b/tests/bugs/end @@ -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." diff --git a/tests/bugs/iges/end b/tests/bugs/iges/end index 08b2023b0b..ed449955a8 100755 --- a/tests/bugs/iges/end +++ b/tests/bugs/iges/end @@ -4,6 +4,6 @@ if { [info exists CR22888_draw] } { #vdisplay result #vsetdispmode 1 #vfit - vdump $imagedir/${test_image}.gif + vdump $imagedir/${test_image}.png } diff --git a/tests/caf/presentation/end b/tests/caf/presentation/end index 840f512136..a54ee98aa1 100755 --- a/tests/caf/presentation/end +++ b/tests/caf/presentation/end @@ -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 diff --git a/tests/chamfer/end b/tests/chamfer/end index fb1c01a5c5..883cede8d7 100644 --- a/tests/chamfer/end +++ b/tests/chamfer/end @@ -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" diff --git a/tests/draft/end b/tests/draft/end index 2289e936af..ecd3b925d3 100755 --- a/tests/draft/end +++ b/tests/draft/end @@ -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." diff --git a/tests/feat/end b/tests/feat/end index 683fcadaa5..cec8e5ca06 100755 --- a/tests/feat/end +++ b/tests/feat/end @@ -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." diff --git a/tests/heal/end b/tests/heal/end index 9506efd7ac..b1bc29c6f5 100755 --- a/tests/heal/end +++ b/tests/heal/end @@ -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" diff --git a/tests/mesh/end b/tests/mesh/end index ac54183b8b..5df0e00f31 100644 --- a/tests/mesh/end +++ b/tests/mesh/end @@ -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 "" diff --git a/tests/mkface/end b/tests/mkface/end index 1b9c6637aa..3c720d7af3 100755 --- a/tests/mkface/end +++ b/tests/mkface/end @@ -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." diff --git a/tests/nproject/end b/tests/nproject/end index 092dc38a2f..acda8739df 100755 --- a/tests/nproject/end +++ b/tests/nproject/end @@ -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." diff --git a/tests/offset/end b/tests/offset/end index 476f2f18be..0bc43fea62 100644 --- a/tests/offset/end +++ b/tests/offset/end @@ -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." diff --git a/tests/pipe/end b/tests/pipe/end index 6695c566ae..c61ac31d56 100644 --- a/tests/pipe/end +++ b/tests/pipe/end @@ -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." diff --git a/tests/prism/end b/tests/prism/end index 9f63c158bf..1a4349dc72 100644 --- a/tests/prism/end +++ b/tests/prism/end @@ -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." } diff --git a/tests/sewing/end b/tests/sewing/end index 0ea1913898..5acdd11fdc 100644 --- a/tests/sewing/end +++ b/tests/sewing/end @@ -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." } diff --git a/tests/thrusection/end b/tests/thrusection/end index 143e18c50c..e2dbc327fc 100755 --- a/tests/thrusection/end +++ b/tests/thrusection/end @@ -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." diff --git a/tests/xcaf/end b/tests/xcaf/end index efc0e2baa0..a07a69ef47 100644 --- a/tests/xcaf/end +++ b/tests/xcaf/end @@ -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]} {