Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 181 lines (151 sloc) 4.978 kB
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
1 <?xml version="1.0"?>
2
3 <project name="kernel" inherit="${GOBO}/misc/eiffel.eant" default="help">
4
5 <description>
e7bb8a0 @ebezault Upgraded license from "Eiffel Forum Freeware License"
ebezault authored
6 system: "Gobo Eiffel Kernel Library Tester"
7 copyright: "Copyright (c) 2001, Eric Bezault and others"
8 license: "Eiffel Forum License v1 (see forum.txt)"
9 date: "$Date$"
10 revision: "$Revision$"
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
11 </description>
12
13 <target name="help">
14 <echo message="usage:"/>
15 <echo message=" geant install"/>
16 <echo message=" geant test"/>
17 <echo message=" geant test_ise"/>
18 <echo message=" geant test_hact"/>
19 <echo message=" geant test_se"/>
20 <echo message=" geant test_ve"/>
21 <echo message=" geant test_debug"/>
22 <echo message=" geant test_debug_ise"/>
23 <echo message=" geant test_debug_hact"/>
24 <echo message=" geant test_debug_se"/>
25 <echo message=" geant test_debug_ve"/>
26 <echo message=" geant compile"/>
27 <echo message=" geant compile_ise"/>
28 <echo message=" geant compile_hact"/>
29 <echo message=" geant compile_se"/>
30 <echo message=" geant compile_ve"/>
31 <echo message=" geant compile_debug"/>
32 <echo message=" geant compile_debug_ise"/>
33 <echo message=" geant compile_debug_hact"/>
34 <echo message=" geant compile_debug_se"/>
35 <echo message=" geant compile_debug_ve"/>
36 <echo message=" geant clean"/>
37 <echo message=" geant clobber"/>
38 </target>
39
b0e7531 @ebezault Targets are now implicitly relative to the directory containing the
ebezault authored
40 <target name="test" depend="init">
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
41 <description>
42 Test '${system}'.
43 Use Eiffel compiler set in ${GOBO_EIFFEL}
44 or 'se' if this variable is not defined.
3081719 @ebezault Use more variables to make the compile and test targets
ebezault authored
45 Compile in debug mode if ${debug} is defined.
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
46 </description>
47
3081719 @ebezault Use more variables to make the compile and test targets
ebezault authored
48 <set name="debug_suffix" value="_debug" if="${debug}"/>
49 <set name="debug_suffix" value="" unless="${debug}"/>
d02d605 @ebezault Added command-line option --define to 'getest'.
ebezault authored
50 <echo message=""/>
51 <echo message="Testing ${system}..."/>
52 <getest config="${system_dir}/getest.cfg" compile="geant -b ${system_dir}/build.eant compile${debug_suffix}_${eiffel} ${compilation_log}">
53 <define name="debug" value="true" if="${debug}"/>
54 </getest>
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
55 </target>
56
b0e7531 @ebezault Targets are now implicitly relative to the directory containing the
ebezault authored
57 <target name="test_ise" depend="init">
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
58 <description>
59 Test '${system}' with ISE Eiffel.
3081719 @ebezault Use more variables to make the compile and test targets
ebezault authored
60 Compile in debug mode if ${debug} is defined.
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
61 </description>
62
1206e19 @ebezault Added attribute 'recursive' to task <ve clean...>.
ebezault authored
63 <set name="eiffel" value="ise"/>
64 <geant target="test"/>
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
65 </target>
66
b0e7531 @ebezault Targets are now implicitly relative to the directory containing the
ebezault authored
67 <target name="test_hact" depend="init">
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
68 <description>
69 Test '${system}' with Halstenbach Eiffel.
3081719 @ebezault Use more variables to make the compile and test targets
ebezault authored
70 Compile in debug mode if ${debug} is defined.
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
71 </description>
72
3081719 @ebezault Use more variables to make the compile and test targets
ebezault authored
73 <set name="eiffel" value="hact"/>
74 <geant target="test"/>
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
75 </target>
76
b0e7531 @ebezault Targets are now implicitly relative to the directory containing the
ebezault authored
77 <target name="test_ve" depend="init">
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
78 <description>
79 Test '${system}' with Visual Eiffel.
3081719 @ebezault Use more variables to make the compile and test targets
ebezault authored
80 Compile in debug mode if ${debug} is defined.
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
81 </description>
82
3081719 @ebezault Use more variables to make the compile and test targets
ebezault authored
83 <set name="eiffel" value="ve"/>
84 <geant target="test"/>
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
85 </target>
86
b0e7531 @ebezault Targets are now implicitly relative to the directory containing the
ebezault authored
87 <target name="test_se" depend="init">
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
88 <description>
89 Test '${system}' with SmallEiffel.
3081719 @ebezault Use more variables to make the compile and test targets
ebezault authored
90 Compile in debug mode if ${debug} is defined.
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
91 </description>
92
3081719 @ebezault Use more variables to make the compile and test targets
ebezault authored
93 <set name="eiffel" value="se"/>
94 <geant target="test"/>
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
95 </target>
96
b0e7531 @ebezault Targets are now implicitly relative to the directory containing the
ebezault authored
97 <target name="test_debug" depend="init">
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
98 <description>
99 Test '${system}' in debug mode.
100 Use Eiffel compiler set in ${GOBO_EIFFEL}
101 or 'se' if this variable is not defined.
102 </description>
103
3081719 @ebezault Use more variables to make the compile and test targets
ebezault authored
104 <set name="debug" value="true"/>
105 <geant target="test"/>
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
106 </target>
107
b0e7531 @ebezault Targets are now implicitly relative to the directory containing the
ebezault authored
108 <target name="test_debug_ise" depend="init">
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
109 <description>
110 Test '${system}' with ISE Eiffel in debug mode.
111 </description>
112
3081719 @ebezault Use more variables to make the compile and test targets
ebezault authored
113 <set name="eiffel" value="ise"/>
114 <set name="debug" value="true"/>
115 <geant target="test"/>
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
116 </target>
117
b0e7531 @ebezault Targets are now implicitly relative to the directory containing the
ebezault authored
118 <target name="test_debug_hact" depend="init">
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
119 <description>
120 Test '${system}' with Halstenbach Eiffel in debug mode.
121 </description>
122
3081719 @ebezault Use more variables to make the compile and test targets
ebezault authored
123 <set name="eiffel" value="hact"/>
124 <set name="debug" value="true"/>
125 <geant target="test"/>
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
126 </target>
127
b0e7531 @ebezault Targets are now implicitly relative to the directory containing the
ebezault authored
128 <target name="test_debug_ve" depend="init">
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
129 <description>
130 Test '${system}' with Visual Eiffel in debug mode.
131 </description>
132
3081719 @ebezault Use more variables to make the compile and test targets
ebezault authored
133 <set name="eiffel" value="ve"/>
134 <set name="debug" value="true"/>
135 <geant target="test"/>
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
136 </target>
137
b0e7531 @ebezault Targets are now implicitly relative to the directory containing the
ebezault authored
138 <target name="test_debug_se" depend="init">
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
139 <description>
140 Test '${system}' with SmallEiffel in debug mode.
141 </description>
142
3081719 @ebezault Use more variables to make the compile and test targets
ebezault authored
143 <set name="eiffel" value="se"/>
144 <set name="debug" value="true"/>
145 <geant target="test"/>
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
146 </target>
147
b0e7531 @ebezault Targets are now implicitly relative to the directory containing the
ebezault authored
148 <target name="clean" depend="init">
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
149 <description>
150 Remove intermediary generated files.
151 </description>
152
153 <ise clean="${system}"/>
154 <hact clean="${system}"/>
155 <se clean="${system}"/>
1206e19 @ebezault Added attribute 'recursive' to task <ve clean...>.
ebezault authored
156 <ve clean="${system}" recursive="true"/>
d02d605 @ebezault Added command-line option --define to 'getest'.
ebezault authored
157 <delete file="compile_ise.ace"/>
158 <delete file="compile_hact.ace"/>
159 <delete file="compile_se.ace"/>
160 <delete file="compile_ve.esd"/>
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
161 <delete file="${system}${exe}"/>
162 <delete file="${system}.melted"/>
163 <delete file="${system}.h2o"/>
164 <delete directory="TESTGEN"/>
165 <delete file="xcompile.log"/>
b0e7531 @ebezault Targets are now implicitly relative to the directory containing the
ebezault authored
166 <geant target="other_clean"/>
5d9d035 @ebezault Use geant's build file inheritance.
ebezault authored
167 </target>
168
169
170 <!-- Implementation -->
171
172 <target name="init">
173 <set name="compilation_log" value="&gt; xcompile.log 2&gt;&amp;1"/>
174 <set name="eiffel" value="se"/>
175 <geant target="init_eiffel"/>
176 <geant target="init_os"/>
177 <geant target="init_system"/>
178 </target>
179
180 </project>
Something went wrong with that request. Please try again.