~ubuntu-branches/ubuntu/wily/gargoyle-free/wily-proposed

« back to all changes in this revision

Viewing changes to tads/tads3/test/log/finally.log

  • Committer: Bazaar Package Importer
  • Author(s): Sylvain Beucler
  • Date: 2009-09-11 20:09:43 UTC
  • Revision ID: james.westby@ubuntu.com-20090911200943-idgzoyupq6650zpn
Tags: upstream-2009-08-25
ImportĀ upstreamĀ versionĀ 2009-08-25

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
finally.t(197): warning: unreachable statement
 
2
finally.t(205): warning: unreachable statement
 
3
finally.t(220): warning: local variable "i" is never used
 
4
Warnings: 3
 
5
Errors:   0
 
6
Longest string: 53, longest list: 0
 
7
 
 
8
(T3VM) Memory blocks still in use:
 
9
 
 
10
Total blocks in use: 0
 
11
entering main
 
12
Break Tests
 
13
 
 
14
loop 1
 
15
entering try1
 
16
loop 1 - i = 1
 
17
this is the finally for try 1
 
18
done with try1
 
19
entering try1
 
20
loop 1 - i = 2
 
21
this is the finally for try 1
 
22
done with try1
 
23
entering try1
 
24
loop 1 - i = 3
 
25
this is the finally for try 1
 
26
done with try1
 
27
entering try1
 
28
loop 1 - i = 4
 
29
breaking...
 
30
this is the finally for try 1
 
31
end of loop 1
 
32
 
 
33
loop 2 - label LOOP2:
 
34
(( inner loop 2 - i = 1
 
35
)) end of inner loop 2 - i = 1
 
36
(( inner loop 2 - i = 2
 
37
   + loop 2a - j = 1
 
38
)) end of inner loop 2 - i = 2
 
39
(( inner loop 2 - i = 3
 
40
   + loop 2a - j = 1
 
41
   + loop 2a - j = 2
 
42
)) end of inner loop 2 - i = 3
 
43
(( inner loop 2 - i = 4
 
44
   + loop 2a - j = 1
 
45
   + loop 2a - j = 2
 
46
   + loop 2a - j = 3
 
47
breaking out of LOOP2...
 
48
end of loop 2
 
49
 
 
50
Continue Test
 
51
 
 
52
loop1 - i = 1
 
53
   inner loop 1a - j = 1
 
54
inner finally
 
55
   inner loop 1a - j = 2
 
56
+ continuing...
 
57
inner finally
 
58
outer finally
 
59
loop1 - i = 2
 
60
   inner loop 1a - j = 1
 
61
inner finally
 
62
   inner loop 1a - j = 2
 
63
+ continuing...
 
64
inner finally
 
65
outer finally
 
66
loop1 - i = 3
 
67
   inner loop 1a - j = 1
 
68
inner finally
 
69
   inner loop 1a - j = 2
 
70
+ continuing...
 
71
inner finally
 
72
outer finally
 
73
loop1 - i = 4
 
74
   inner loop 1a - j = 1
 
75
inner finally
 
76
   inner loop 1a - j = 2
 
77
+ continuing...
 
78
inner finally
 
79
outer finally
 
80
loop1 - i = 5
 
81
   inner loop 1a - j = 1
 
82
inner finally
 
83
   inner loop 1a - j = 2
 
84
+ continuing...
 
85
inner finally
 
86
outer finally
 
87
end loop1
 
88
 
 
89
Return Test -- will not return in the middle of the try block
 
90
 
 
91
entering try 1
 
92
entering try 1a
 
93
not returning
 
94
end of inner try 1a
 
95
finally 1a
 
96
end out outer try 1
 
97
finally 1
 
98
end of ret_test
 
99
ret_test(nil) = NIL!!!
 
100
 
 
101
Return Test -- will return in the middle of the try block
 
102
 
 
103
entering try 1
 
104
entering try 1a
 
105
returning...
 
106
finally 1a
 
107
finally 1
 
108
ret_test(true) = TRUE!!!
 
109
Goto Tests
 
110
 
 
111
simple goto s1...
 
112
here we are at s1!
 
113
entering try 1
 
114
goto within try - s2
 
115
here we are at s2!
 
116
jumping out of try 1 to s3
 
117
finally 1
 
118
now at s3!
 
119
jumping into a try - s4
 
120
at s4!
 
121
leaving try 1 again - s5
 
122
finally 1
 
123
okay, this is s5
 
124
 
 
125
Exception Throw Tests
 
126
 
 
127
entering try 1
 
128
this should be innocuous!
 
129
this is the first finally
 
130
entering try 2
 
131
entering nested try 2a
 
132
in try - calling exc_test_thrower - valid value...
 
133
+ in exc_test_thrower - entering try
 
134
+ in try - computing value
 
135
+ result = 8
 
136
+ exc_test_thrower finally
 
137
+ exc_test_thrower - returning
 
138
in try - calling exc_test_thrower - INVALID value...
 
139
+ in exc_test_thrower - entering try
 
140
+ in try - computing value
 
141
+ exc_test_thrower finally
 
142
this is finally 2a
 
143
this is the second finally block!
 
144
 
 
145
Unhandled exception: numeric value required
 
146
 
 
147
(T3VM) Memory blocks still in use:
 
148
 
 
149
Total blocks in use: 0