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

Contents of /trunk/eweasel/tests/term107/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65297 - (show annotations)
Thu Nov 30 20:22:33 2006 UTC (13 years, 2 months ago) by manus
File size: 1306 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 add-remove-vcch-freeze
10 test_description A system has a class that inherits a deferred feature `value', which is of type string, and effects it with a string constant. After initial compilation, the effecting feature name is changed, introducing a VCCH(1) error. When compiler reports the error, feature is changed back to `value' and compilation finishes. But when the system is then frozen, the compiler dies with a segmentation fault in `real_body_id'.
11
12 copy_sub Ace $TEST Ace
13 define VAR_NAME value
14 copy_sub test.e $CLUSTER test.e
15 copy_raw test1.e $CLUSTER test1.e
16 compile_melted
17 compile_result ok
18
19 define VAR_NAME xxx
20 copy_sub test.e $CLUSTER test.e
21 compile_melted
22 compile_result validity_error TEST VCCH(1)
23
24 define VAR_NAME value
25 copy_sub test.e $CLUSTER test.e
26 resume_compile
27 compile_result ok
28
29 execute_work NONE exec_output1
30 execute_result ok
31 compare exec_output1 output
32
33 compile_frozen
34 compile_result ok
35
36 c_compile_work
37 c_compile_result ok
38
39 execute_work NONE exec_output2
40 execute_result ok
41 compare exec_output2 output
42
43 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23