0023434: Generate images in lossless format (PNG) instead of lossy GIF currently...
[occt.git] / tests / bugs / end
1 if { [isdraw result] } {
2     if { [info exists 2dviewer] } {
3         clear
4         smallview
5         donly result
6         fit
7         xwd $imagedir/${test_image}.png
8     }
9     if { [info exists 3dviewer] } {
10         vinit
11         vclear
12         vdisplay result
13         vsetdispmode 1
14         vfit
15         vdump $imagedir/${test_image}.png
16     }
17 } else {
18     if { [info exists 3dviewer] } {
19         if { ${3dviewer} == 2 } {
20                 vdump $imagedir/${test_image}.png
21         }
22     }
23 }
24     if { [info exist only_xwd] } {
25         xwd $imagedir/${test_image}.png 
26     }
27 #} else {
28 #   puts "Error : The command can not be build."
29 #}
30
31 # to end a test script
32 puts "TEST COMPLETED"
33