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

Contents of /trunk/eweasel/tests/incr181/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: 1054 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 constant-variable-function
10 test_description After initial compilation where the system is melted, a constant attribute is changed to a variable attribute and changes are melted. Then the variable attribute is changed to a function with no arguments and changes are melted. System execution then ends with a segmentation fault.
11
12 define FEATURE "weasel: BOOLEAN is False"
13 copy_sub Ace $TEST Ace
14 copy_sub test.e $CLUSTER test.e
15 compile_melted
16 compile_result ok
17
18 define FEATURE "weasel: BOOLEAN"
19 copy_sub test.e $CLUSTER test.e
20 compile_melted
21 compile_result ok
22
23 define FEATURE "weasel: BOOLEAN is do print ("Weasel%N") Result := True end"
24 copy_sub test.e $CLUSTER test.e
25 compile_melted
26 compile_result ok
27
28 execute_work NONE exec_output1
29 execute_result ok
30 compare exec_output1 output
31
32 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23