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

Contents of /trunk/eweasel/tests/incr176/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 78302 - (show annotations)
Fri Apr 17 23:00:28 2009 UTC (10 years, 9 months ago) by dhollen
File size: 1266 byte(s)
Added missing test_end instructions or missing newline at end of file
to test control files, in preparation for a change to how eweasel handles
these conditions.

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 backup-directory-disaster
10 test_description After initial compilation, a cluster in the Ace file is changed from the form "all root_cluster" to a list of the two specific clusters in the root cluster directory. Recompilation works fine. However, when the Ace is then changed to indicate a new root class and and the class name inside one file is also changed, a second recompile ends with a segmentation fault in `backup_directory'. This only happens if "automatic_backup" is true.
11
12 define_directory CLUSTER2 $CLUSTER sub
13 define ROOT_CLASS "TEST1"
14 define RECURSIVE "true"
15 define SUBCLUSTER ""
16 copy_sub Ace $TEST Ace
17 copy_sub test.e $CLUSTER2 test.e
18 copy_sub test1_rev1.e $CLUSTER test.e
19 compile_melted
20 compile_result ok
21
22 define RECURSIVE "false"
23 define SUBCLUSTER "<cluster name="subcluster" location="$CLUSTER2"/>"
24 copy_sub Ace $TEST Ace
25 compile_melted
26 compile_result ok
27
28 define ROOT_CLASS "TEST"
29 copy_sub Ace $TEST Ace
30 copy_sub test1_rev1.e $CLUSTER test.e
31 compile_melted
32 compile_result ok
33
34 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23