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

Contents of /trunk/eweasel/tests/incr180/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65297 - (show annotations)
Thu Nov 30 20:22:33 2006 UTC (13 years ago) by manus
File size: 947 byte(s)
Moved from trunk/Src/eweasel to trunk/eweasel so that a simple checkout of the source code is not penalized by the lenghty process of checking out all the tests of eweasel.
1
2 --| Copyright (c) 1993-2006 University of Southern California and contributors.
3 --| All rights reserved.
4 --| Your use of this work is governed under the terms of the GNU General
5 --| Public License version 2.
6
7 -- This is a test control file
8
9 test_name make-const-variable-freeze
10 test_description After initial compilation where the system is melted, a constant attribute is changed to a variable attribute and the system is frozen. The resulting C code compiles, but will not link due to undefined symbols.
11
12 define ATTRIBUTE "k: INTEGER is 13"
13 copy_sub Ace $TEST Ace
14 copy_sub test.e $CLUSTER test.e
15 compile_melted
16 compile_result ok
17
18 execute_work NONE exec_output1
19 execute_result ok
20 compare exec_output1 output1
21
22 define ATTRIBUTE "k: INTEGER"
23 copy_sub test.e $CLUSTER test.e
24 compile_frozen
25 compile_result ok
26
27 c_compile_work
28 c_compile_result ok
29
30 execute_work NONE exec_output2
31 execute_result ok
32 compare exec_output2 output2
33
34 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23