/[eiffelstudio]/branches/eth/eve/eweasel/tests/incr125/tcf
ViewVC logotype

Contents of /branches/eth/eve/eweasel/tests/incr125/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 83441 - (show annotations)
Sat Jun 5 13:52:53 2010 UTC (9 years, 7 months ago) by jasonw
File size: 1489 byte(s)
Renamed branch eve3 to eve. The eve branch serves as the new branch for the EVE project.
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 change-numeric-formal-argument
10 test_description A class has routines which take an argument of type INTEGER, REAL, DOUBLE or ANY and calls to these routines passing an INTEGER. REAL or DOUBLE constant or variable. After initial compilation where the system is frozen, formal argument types are change to a more general type (e.g., INTEGER is changed to REAL or DOUBLE or ANY, etc). When changes are melted, system execution produces the wrong output and then a segmentation fault.
11
12 copy_sub Ace $TEST Ace
13 define ARG_TYPE1 "INTEGER"
14 define ARG_TYPE2 "INTEGER"
15 define ARG_TYPE3 "INTEGER"
16 define ARG_TYPE4 "REAL"
17 define ARG_TYPE5 "REAL"
18 define ARG_TYPE6 "DOUBLE"
19 define ARG_TYPE7 "ANY"
20 copy_sub test.e $CLUSTER test.e
21 compile_frozen
22 compile_result ok
23
24 c_compile_work
25 c_compile_result ok
26
27 execute_work NONE exec_output1
28 execute_result ok
29 compare exec_output1 output
30
31 define ARG_TYPE1 "REAL"
32 define ARG_TYPE2 "DOUBLE"
33 define ARG_TYPE3 "ANY"
34 define ARG_TYPE4 "DOUBLE"
35 define ARG_TYPE5 "ANY"
36 define ARG_TYPE6 "ANY"
37 define ARG_TYPE7 "DOUBLE"
38 copy_sub test.e $CLUSTER test.e
39 compile_melted
40 compile_result ok
41
42 execute_work NONE exec_output2
43 execute_result ok
44 compare exec_output2 output
45
46 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23