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

Contents of /trunk/eweasel/tests/runtime012/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 77424 - (show annotations)
Sat Feb 28 00:28:44 2009 UTC (11 years ago) by manus
File size: 934 byte(s)
Added various compilation mode test.

1 test_name overflow-special-resizing
2 test_description If we resize a SPECIAL object to have a size greater than 2^31 then the runtime does an overflow and you end up with an array of a smaller size.
3
4 define VALUE "true"
5 copy_sub Ace $TEST Ace
6 copy_raw test.e $CLUSTER test.e
7 copy_raw exp.e $CLUSTER exp.e
8
9 compile_melted
10 compile_result ok
11
12 execute_work NONE exec_output1
13 execute_result ok
14 compare exec_output1 output
15
16 compile_frozen
17 compile_result ok
18
19 c_compile_work
20 c_compile_result ok
21
22 execute_work NONE exec_output2
23 execute_result ok
24 compare exec_output2 output
25
26 compile_final
27 compile_result ok
28
29 c_compile_final
30 c_compile_result ok
31
32 execute_work NONE exec_output2
33 execute_result ok
34 compare exec_output2 output
35
36 copy_sub Ace $TEST Ace
37
38 define VALUE "false"
39 compile_final
40 compile_result ok
41
42 c_compile_final
43 c_compile_result ok
44
45 execute_work NONE exec_output2
46 execute_result ok
47 compare exec_output2 output
48
49 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23