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

Contents of /trunk/eweasel/tests/incr395/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 84351 - (show annotations)
Wed Sep 1 15:29:36 2010 UTC (9 years, 4 months ago) by dhollen
File size: 733 byte(s)
Added eweasel test incr395 for bug #17082, where changing the root class to be non-expanded
in a particular system and recompiling crashes an assertion-enabled compiler with
violation of precondition of {GEN_TYPE_A}.same_generic_derivation_as.

1
2 test_name same-generic-derivation-as-crash
3 test_description Changing a root class from expanded to non-expanded and recompiling crashes the compiler with violation of precondition `other_derived' of {GEN_TYPE_A}.same_generic_derivation_as
4
5 define EXPANDED "expanded"
6 copy_sub Ace $TEST Ace
7 copy_sub test.e $CLUSTER test.e
8 copy_raw test2.e $CLUSTER test2.e
9
10 compile_frozen
11 compile_result ok
12
13 c_compile_work
14 c_compile_result ok
15
16 execute_work NONE exec_output1
17 execute_result ok
18 compare exec_output1 output
19
20 define EXPANDED ""
21 copy_sub test.e $CLUSTER test.e
22
23 compile_frozen
24 compile_result ok
25
26 c_compile_work
27 c_compile_result ok
28
29 execute_work NONE exec_output2
30 execute_result ok
31 compare exec_output2 output
32
33 test_end
34

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23