fa920fb1 |
1 | if { [isdraw result] } { |
2 | if { [info exists 2dviewer] } { |
3 | clear |
4 | smallview |
5 | donly result |
6 | fit |
7 | xwd $imagedir/${test_image}.gif |
8 | } |
9 | if { [info exists 3dviewer] } { |
319e4241 |
10 | vinit |
fa920fb1 |
11 | vclear |
12 | vdisplay result |
13 | vsetdispmode 1 |
14 | vfit |
15 | vdump $imagedir/${test_image}.gif |
16 | } |
64e2d3bd |
17 | } else { |
18 | if { [info exists 3dviewer] } { |
19 | if { ${3dviewer} == 2 } { |
20 | vdump $imagedir/${test_image}.gif |
21 | } |
22 | } |
a2d5ab2e |
23 | } |
319e4241 |
24 | if { [info exist only_xwd] } { |
25 | xwd $imagedir/${test_image}.gif |
26 | } |
27 | #} else { |
28 | # puts "Error : The command can not be build." |
29 | #} |
fa920fb1 |
30 | |
31 | # to end a test script |
32 | puts "TEST COMPLETED" |
33 | |