fa920fb1 |
1 | if { [isdraw result] } { |
2 | if { [info exists 2dviewer] } { |
3 | clear |
4 | smallview |
5 | donly result |
6 | fit |
88f8fc81 |
7 | xwd $imagedir/${test_image}.png |
fa920fb1 |
8 | } |
9 | if { [info exists 3dviewer] } { |
319e4241 |
10 | vinit |
fa920fb1 |
11 | vclear |
12 | vdisplay result |
13 | vsetdispmode 1 |
14 | vfit |
88f8fc81 |
15 | vdump $imagedir/${test_image}.png |
fa920fb1 |
16 | } |
a2d5ab2e |
17 | } |
82cbc512 |
18 | |
19 | if { [info exist only_screen] } { |
20 | vdump $imagedir/${test_image}.png |
21 | } |
fa920fb1 |
22 | |
aff395a3 |
23 | if { [info exist only_screen2d] } { |
24 | v2ddump $imagedir/${test_image}.png |
25 | } |
26 | |
fa920fb1 |
27 | # to end a test script |
28 | puts "TEST COMPLETED" |
29 | |