/[eiffelstudio]/trunk/eweasel/tests/expanded011/tcf
ViewVC logotype

Contents of /trunk/eweasel/tests/expanded011/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 88106 - (show annotations)
Fri Dec 9 19:40:47 2011 UTC (7 years, 8 months ago) by manus
File size: 607 byte(s)
Added new test showing an incorrect code generation in finalized mode when returning an expanded Result and performing a memory allocation on it that triggers the GC.

1 test_name expanded-result-not-gc-tracked
2 test_description A routine with an expanded Result performing only one operation on it does not track the Result via the GC which could cause some memory corruption.
3
4 copy_sub Ace $TEST Ace
5 copy_raw test.e $CLUSTER test.e
6 copy_raw exp.e $CLUSTER exp.e
7
8 compile_frozen
9 compile_result ok
10
11 c_compile_work
12 c_compile_result ok
13
14 execute_work NONE exec_output_w
15 execute_result ok
16 compare exec_output_w output
17
18 compile_final
19 compile_result ok
20
21 c_compile_final
22 c_compile_result ok
23
24 execute_final NONE exec_output_f
25 execute_result ok
26 compare exec_output_f output
27
28 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23