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

Contents of /trunk/eweasel/tests/incr368/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 83823 - (show annotations)
Wed Jul 7 00:17:34 2010 UTC (9 years, 3 months ago) by dhollen
File size: 1716 byte(s)
Added eweasel test incr368 for bug #16951, where changing the actual generic
in the inheritance clause of a class referenced in a qualified anchored type
and recompiling causes incorrect system execution output.

1
2 test_name qat-change-parent-actual-generic
3 test_description Changing the actual generic parameter in an inheritance clause for a class that is used in a qualified anchored type and recompiling causes incorrect execution output or a seg fault.
4
5 define ACTUAL_GENERIC "G"
6 copy_sub Ace $TEST Ace
7 copy_raw test.e $CLUSTER test.e
8 copy_raw test1.e $CLUSTER test1.e
9 copy_sub test2.e $CLUSTER test2.e
10 compile_melted
11 compile_result ok
12
13 execute_work NONE exec_output_1
14 execute_result ok
15 compare exec_output_1 output_generic
16
17 compile_frozen
18 compile_result ok
19
20 c_compile_work
21 c_compile_result ok
22
23 execute_work NONE exec_output_2
24 execute_result ok
25 compare exec_output_2 output_generic
26
27 define ACTUAL_GENERIC "NUMERIC"
28 copy_sub test2.e $CLUSTER test2.e
29 compile_melted
30 compile_result ok
31
32 execute_work NONE exec_output_3
33 execute_result ok
34 compare exec_output_3 output_numeric
35
36 compile_frozen
37 compile_result ok
38
39 c_compile_work
40 c_compile_result ok
41
42 execute_work NONE exec_output_4
43 execute_result ok
44 compare exec_output_4 output_numeric
45
46 cleanup_compile
47
48 compile_melted
49 compile_result ok
50
51 execute_work NONE exec_output_5
52 execute_result ok
53 compare exec_output_5 output_numeric
54
55 compile_frozen
56 compile_result ok
57
58 c_compile_work
59 c_compile_result ok
60
61 execute_work NONE exec_output_6
62 execute_result ok
63 compare exec_output_6 output_numeric
64
65 define ACTUAL_GENERIC "G"
66 copy_sub test2.e $CLUSTER test2.e
67 compile_melted
68 compile_result ok
69
70 execute_work NONE exec_output_7
71 execute_result ok
72 compare exec_output_7 output_generic
73
74 compile_frozen
75 compile_result ok
76
77 c_compile_work
78 c_compile_result ok
79
80 execute_work NONE exec_output_8
81 execute_result ok
82 compare exec_output_8 output_generic
83
84 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23