aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prebuild/tests
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-09-11 01:13:08 +0100
committerJustin Clark-Casey (justincc)2010-09-11 01:13:08 +0100
commit7e65590a55ba575d0086bdfc25addaf1051d799b (patch)
tree1dc11683170d45d80d7aab6eefdfcc836d3e773b /Prebuild/tests
parentMake it clear that the "create region" command will reference ini files in th... (diff)
downloadopensim-SC_OLD-7e65590a55ba575d0086bdfc25addaf1051d799b.zip
opensim-SC_OLD-7e65590a55ba575d0086bdfc25addaf1051d799b.tar.gz
opensim-SC_OLD-7e65590a55ba575d0086bdfc25addaf1051d799b.tar.bz2
opensim-SC_OLD-7e65590a55ba575d0086bdfc25addaf1051d799b.tar.xz
Update Prebuild.exe with Prebuild r323 + an existing OpenSim specific nant hack to correctly clean up chosen OpenSim exes and dlls in bin/ on a "nant clean"
Source code is included for reference. This can go away again once Prebuild is updated with a more general mechanism for cleaning up files. The Prebuild source code here can be built with nant, or regnerated for other tools using the prebuild at {root}/bin/Prebuild.exe
Diffstat (limited to 'Prebuild/tests')
-rw-r--r--Prebuild/tests/.svn/all-wcprops59
-rw-r--r--Prebuild/tests/.svn/entries334
-rw-r--r--Prebuild/tests/.svn/text-base/Makefile.svn-base24
-rw-r--r--Prebuild/tests/.svn/text-base/README.txt.svn-base5
-rw-r--r--Prebuild/tests/.svn/text-base/include-001.expected.svn-base46
-rw-r--r--Prebuild/tests/.svn/text-base/include-001.include.svn-base33
-rw-r--r--Prebuild/tests/.svn/text-base/include-001.prebuild.svn-base22
-rw-r--r--Prebuild/tests/.svn/text-base/include-002-2.include.svn-base8
-rw-r--r--Prebuild/tests/.svn/text-base/include-002.expected.svn-base26
-rw-r--r--Prebuild/tests/.svn/text-base/include-002.include.svn-base14
-rw-r--r--Prebuild/tests/.svn/text-base/include-002.prebuild.svn-base7
-rw-r--r--Prebuild/tests/Makefile24
-rw-r--r--Prebuild/tests/README.txt5
-rw-r--r--Prebuild/tests/include-001.expected46
-rw-r--r--Prebuild/tests/include-001.include33
-rw-r--r--Prebuild/tests/include-001.prebuild22
-rw-r--r--Prebuild/tests/include-002-2.include8
-rw-r--r--Prebuild/tests/include-002.expected26
-rw-r--r--Prebuild/tests/include-002.include14
-rw-r--r--Prebuild/tests/include-002.prebuild7
20 files changed, 763 insertions, 0 deletions
diff --git a/Prebuild/tests/.svn/all-wcprops b/Prebuild/tests/.svn/all-wcprops
new file mode 100644
index 0000000..0668acb
--- /dev/null
+++ b/Prebuild/tests/.svn/all-wcprops
@@ -0,0 +1,59 @@
1K 25
2svn:wc:ra_dav:version-url
3V 47
4/svnroot/dnpb/!svn/ver/280/trunk/Prebuild/tests
5END
6include-001.expected
7K 25
8svn:wc:ra_dav:version-url
9V 68
10/svnroot/dnpb/!svn/ver/279/trunk/Prebuild/tests/include-001.expected
11END
12include-002.expected
13K 25
14svn:wc:ra_dav:version-url
15V 68
16/svnroot/dnpb/!svn/ver/280/trunk/Prebuild/tests/include-002.expected
17END
18include-001.include
19K 25
20svn:wc:ra_dav:version-url
21V 67
22/svnroot/dnpb/!svn/ver/279/trunk/Prebuild/tests/include-001.include
23END
24include-002-2.include
25K 25
26svn:wc:ra_dav:version-url
27V 69
28/svnroot/dnpb/!svn/ver/280/trunk/Prebuild/tests/include-002-2.include
29END
30include-002.include
31K 25
32svn:wc:ra_dav:version-url
33V 67
34/svnroot/dnpb/!svn/ver/280/trunk/Prebuild/tests/include-002.include
35END
36include-001.prebuild
37K 25
38svn:wc:ra_dav:version-url
39V 68
40/svnroot/dnpb/!svn/ver/279/trunk/Prebuild/tests/include-001.prebuild
41END
42include-002.prebuild
43K 25
44svn:wc:ra_dav:version-url
45V 68
46/svnroot/dnpb/!svn/ver/280/trunk/Prebuild/tests/include-002.prebuild
47END
48README.txt
49K 25
50svn:wc:ra_dav:version-url
51V 58
52/svnroot/dnpb/!svn/ver/279/trunk/Prebuild/tests/README.txt
53END
54Makefile
55K 25
56svn:wc:ra_dav:version-url
57V 56
58/svnroot/dnpb/!svn/ver/279/trunk/Prebuild/tests/Makefile
59END
diff --git a/Prebuild/tests/.svn/entries b/Prebuild/tests/.svn/entries
new file mode 100644
index 0000000..2a70cf9
--- /dev/null
+++ b/Prebuild/tests/.svn/entries
@@ -0,0 +1,334 @@
110
2
3dir
4323
5https://dnpb.svn.sourceforge.net/svnroot/dnpb/trunk/Prebuild/tests
6https://dnpb.svn.sourceforge.net/svnroot/dnpb
7
8
9
102008-12-10T02:26:03.443834Z
11280
12dmoonfire
13
14
15
16
17
18
19
20
21
22
23
24
25
26
273355ff64-970d-0410-bbe8-d0fbd18be4fb
28
29include-001.expected
30file
31
32
33
34
352010-09-10T22:51:45.000000Z
36d65010a81975867917d4468950ec7ccc
372008-12-10T02:04:22.474237Z
38279
39dmoonfire
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
611784
62
63include-002.expected
64file
65
66
67
68
692010-09-10T22:51:45.000000Z
70dcef68172b57f9e1b2228f1dba535934
712008-12-10T02:26:03.443834Z
72280
73dmoonfire
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
951150
96
97include-001.include
98file
99
100
101
102
1032010-09-10T22:51:45.000000Z
10492601282deffe7c461f80b407525446d
1052008-12-10T02:04:22.474237Z
106279
107dmoonfire
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129983
130
131include-002-2.include
132file
133
134
135
136
1372010-09-10T22:51:45.000000Z
138d9f24dc85d95d7310516187910433c8c
1392008-12-10T02:26:03.443834Z
140280
141dmoonfire
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163307
164
165include-002.include
166file
167
168
169
170
1712010-09-10T22:51:45.000000Z
17244815ffa6c2dc32d4df9977b5fe49ca4
1732008-12-10T02:26:03.443834Z
174280
175dmoonfire
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197332
198
199include-001.prebuild
200file
201
202
203
204
2052010-09-10T22:51:45.000000Z
206d01a5391189ada3dcd7d3becf254f151
2072008-12-10T02:04:22.474237Z
208279
209dmoonfire
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231742
232
233include-002.prebuild
234file
235
236
237
238
2392010-09-10T22:51:45.000000Z
24022ad11b07dd489b41ec998e03c83a397
2412008-12-10T02:26:03.443834Z
242280
243dmoonfire
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265289
266
267README.txt
268file
269
270
271
272
2732010-09-10T22:51:45.000000Z
2746b111c08a76e929cb94b77c99774ef78
2752008-12-10T02:04:22.474237Z
276279
277dmoonfire
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299326
300
301Makefile
302file
303
304
305
306
3072010-09-10T22:51:45.000000Z
308eed6712c3f5e4478d92137f6657aba56
3092008-12-10T02:04:22.474237Z
310279
311dmoonfire
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333456
334
diff --git a/Prebuild/tests/.svn/text-base/Makefile.svn-base b/Prebuild/tests/.svn/text-base/Makefile.svn-base
new file mode 100644
index 0000000..4a8ddf4
--- /dev/null
+++ b/Prebuild/tests/.svn/text-base/Makefile.svn-base
@@ -0,0 +1,24 @@
1#
2# Executable
3#
4
5# Executables
6PREBUILD = mono ../src/bin/Release/prebuild.exe /target makefile
7
8# Files
9PREBUILDS = $(wildcard *.prebuild)
10RESULTS = $(PREBUILDS:prebuild=results)
11TESTS = $(PREBUILDS:prebuild=test)
12
13all: $(TESTS)
14
15clean:
16 rm -f *~ *.log
17 rm -f $(RESULTS)
18
19%.test: %.prebuild
20 $(PREBUILD) /log $*.log /file $*.prebuild /ppi $*.results >& /dev/null
21 if ! cmp $*.expected $*.results; then \
22 echo $*.prebuild failed; \
23 false; \
24 fi
diff --git a/Prebuild/tests/.svn/text-base/README.txt.svn-base b/Prebuild/tests/.svn/text-base/README.txt.svn-base
new file mode 100644
index 0000000..2c2de3b
--- /dev/null
+++ b/Prebuild/tests/.svn/text-base/README.txt.svn-base
@@ -0,0 +1,5 @@
1There are some tests that are run via a Makfile in this
2directory. They haven't been included in any form of unit tests, but
3they are there to help test the functionality in some what. Simply
4build prebuild (so there is a src/bin/Release/prebuild.exe) and type
5`make` in this directory. Everything should pass without errors.
diff --git a/Prebuild/tests/.svn/text-base/include-001.expected.svn-base b/Prebuild/tests/.svn/text-base/include-001.expected.svn-base
new file mode 100644
index 0000000..26374b5
--- /dev/null
+++ b/Prebuild/tests/.svn/text-base/include-001.expected.svn-base
@@ -0,0 +1,46 @@
1<Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" version="1.7">
2 <Solution name="include-001" version="1.2.3">
3 <Configuration name="Debug">
4 <Options>
5 <CompilerDefines>DEBUG;TRACE</CompilerDefines>
6 <OptimizeCode>false</OptimizeCode>
7 <OutputPath>bin/Debug</OutputPath>
8 <DebugInformation>true</DebugInformation>
9 </Options>
10 </Configuration>
11 <Configuration name="Release">
12 <Options>
13 <CompilerDefines>TRACE</CompilerDefines>
14 <OutputPath>bin/Release</OutputPath>
15 <OptimizeCode>true</OptimizeCode>
16 <DebugInformation>false</DebugInformation>
17 </Options>
18 </Configuration>
19 <Project name="Prebuild" path="src" language="C#" assemblyName="include-001" type="Exe" version="1.2.3" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd">
20 <Configuration name="Debug">
21 <Options>
22 <CompilerDefines>DEBUG;TRACE</CompilerDefines>
23 <OptimizeCode>false</OptimizeCode>
24 <OutputPath>bin/Debug</OutputPath>
25 <DebugInformation>true</DebugInformation>
26 <KeyFile>Prebuild.snk</KeyFile>
27 <SuppressWarnings>1595</SuppressWarnings>
28 </Options>
29 </Configuration>
30 <Configuration name="Release">
31 <Options>
32 <CompilerDefines>TRACE</CompilerDefines>
33 <OutputPath>bin/Release</OutputPath>
34 <OptimizeCode>true</OptimizeCode>
35 <DebugInformation>false</DebugInformation>
36 <KeyFile>Prebuild.snk</KeyFile>
37 <SuppressWarnings>1595</SuppressWarnings>
38 </Options>
39 </Configuration>
40 <Reference name="System" />
41 <Files>
42 <Match pattern="*.cs" recurse="true" />
43 </Files>
44 </Project>
45 </Solution>
46</Prebuild>
diff --git a/Prebuild/tests/.svn/text-base/include-001.include.svn-base b/Prebuild/tests/.svn/text-base/include-001.include.svn-base
new file mode 100644
index 0000000..7f75962
--- /dev/null
+++ b/Prebuild/tests/.svn/text-base/include-001.include.svn-base
@@ -0,0 +1,33 @@
1<Project name="Prebuild"
2 path="src"
3 language="C#"
4 assemblyName="include-001"
5 type="Exe"
6 version="1.2.3"
7 xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd"
8 >
9 <Configuration name="Debug">
10 <Options>
11 <CompilerDefines>DEBUG;TRACE</CompilerDefines>
12 <OptimizeCode>false</OptimizeCode>
13 <OutputPath>bin/Debug</OutputPath>
14 <DebugInformation>true</DebugInformation>
15 <KeyFile>Prebuild.snk</KeyFile>
16 <SuppressWarnings>1595</SuppressWarnings>
17 </Options>
18 </Configuration>
19 <Configuration name="Release">
20 <Options>
21 <CompilerDefines>TRACE</CompilerDefines>
22 <OutputPath>bin/Release</OutputPath>
23 <OptimizeCode>true</OptimizeCode>
24 <DebugInformation>false</DebugInformation>
25 <KeyFile>Prebuild.snk</KeyFile>
26 <SuppressWarnings>1595</SuppressWarnings>
27 </Options>
28 </Configuration>
29 <Reference name="System" />
30 <Files>
31 <Match pattern="*.cs" recurse="true"/>
32 </Files>
33</Project>
diff --git a/Prebuild/tests/.svn/text-base/include-001.prebuild.svn-base b/Prebuild/tests/.svn/text-base/include-001.prebuild.svn-base
new file mode 100644
index 0000000..8047008
--- /dev/null
+++ b/Prebuild/tests/.svn/text-base/include-001.prebuild.svn-base
@@ -0,0 +1,22 @@
1<?xml version="1.0" encoding="utf-8" ?>
2<Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" version="1.7">
3 <Solution name="include-001" version="1.2.3">
4 <Configuration name="Debug">
5 <Options>
6 <CompilerDefines>DEBUG;TRACE</CompilerDefines>
7 <OptimizeCode>false</OptimizeCode>
8 <OutputPath>bin/Debug</OutputPath>
9 <DebugInformation>true</DebugInformation>
10 </Options>
11 </Configuration>
12 <Configuration name="Release">
13 <Options>
14 <CompilerDefines>TRACE</CompilerDefines>
15 <OutputPath>bin/Release</OutputPath>
16 <OptimizeCode>true</OptimizeCode>
17 <DebugInformation>false</DebugInformation>
18 </Options>
19 </Configuration>
20 <?include file="include-001.include"?>
21 </Solution>
22</Prebuild>
diff --git a/Prebuild/tests/.svn/text-base/include-002-2.include.svn-base b/Prebuild/tests/.svn/text-base/include-002-2.include.svn-base
new file mode 100644
index 0000000..661b7f3
--- /dev/null
+++ b/Prebuild/tests/.svn/text-base/include-002-2.include.svn-base
@@ -0,0 +1,8 @@
1<Configuration name="Debug" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd">
2 <Options>
3 <CompilerDefines>DEBUG;TRACE</CompilerDefines>
4 <OptimizeCode>false</OptimizeCode>
5 <OutputPath>bin/Debug</OutputPath>
6 <DebugInformation>true</DebugInformation>
7 </Options>
8</Configuration>
diff --git a/Prebuild/tests/.svn/text-base/include-002.expected.svn-base b/Prebuild/tests/.svn/text-base/include-002.expected.svn-base
new file mode 100644
index 0000000..9849658
--- /dev/null
+++ b/Prebuild/tests/.svn/text-base/include-002.expected.svn-base
@@ -0,0 +1,26 @@
1<Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" version="1.7">
2 <Solution name="include-002" version="1.2.3">
3 <Configuration name="Debug" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd">
4 <Options>
5 <CompilerDefines>DEBUG;TRACE</CompilerDefines>
6 <OptimizeCode>false</OptimizeCode>
7 <OutputPath>bin/Debug</OutputPath>
8 <DebugInformation>true</DebugInformation>
9 </Options>
10 </Configuration>
11 <Project name="Prebuild" path="src" language="C#" assemblyName="include-001" type="Exe" version="1.2.3" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd">
12 <Configuration name="Debug" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd">
13 <Options>
14 <CompilerDefines>DEBUG;TRACE</CompilerDefines>
15 <OptimizeCode>false</OptimizeCode>
16 <OutputPath>bin/Debug</OutputPath>
17 <DebugInformation>true</DebugInformation>
18 </Options>
19 </Configuration>
20 <Reference name="System" />
21 <Files>
22 <Match pattern="*.cs" recurse="true" />
23 </Files>
24 </Project>
25 </Solution>
26</Prebuild>
diff --git a/Prebuild/tests/.svn/text-base/include-002.include.svn-base b/Prebuild/tests/.svn/text-base/include-002.include.svn-base
new file mode 100644
index 0000000..64f4058
--- /dev/null
+++ b/Prebuild/tests/.svn/text-base/include-002.include.svn-base
@@ -0,0 +1,14 @@
1<Project name="Prebuild"
2 path="src"
3 language="C#"
4 assemblyName="include-001"
5 type="Exe"
6 version="1.2.3"
7 xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd"
8 >
9 <?include file="include-002-2.include"?>
10 <Reference name="System" />
11 <Files>
12 <Match pattern="*.cs" recurse="true"/>
13 </Files>
14</Project>
diff --git a/Prebuild/tests/.svn/text-base/include-002.prebuild.svn-base b/Prebuild/tests/.svn/text-base/include-002.prebuild.svn-base
new file mode 100644
index 0000000..9e85f20
--- /dev/null
+++ b/Prebuild/tests/.svn/text-base/include-002.prebuild.svn-base
@@ -0,0 +1,7 @@
1<?xml version="1.0" encoding="utf-8" ?>
2<Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" version="1.7">
3 <Solution name="include-002" version="1.2.3">
4 <?include file="include-002-2.include"?>
5 <?include file="include-002.include"?>
6 </Solution>
7</Prebuild>
diff --git a/Prebuild/tests/Makefile b/Prebuild/tests/Makefile
new file mode 100644
index 0000000..4a8ddf4
--- /dev/null
+++ b/Prebuild/tests/Makefile
@@ -0,0 +1,24 @@
1#
2# Executable
3#
4
5# Executables
6PREBUILD = mono ../src/bin/Release/prebuild.exe /target makefile
7
8# Files
9PREBUILDS = $(wildcard *.prebuild)
10RESULTS = $(PREBUILDS:prebuild=results)
11TESTS = $(PREBUILDS:prebuild=test)
12
13all: $(TESTS)
14
15clean:
16 rm -f *~ *.log
17 rm -f $(RESULTS)
18
19%.test: %.prebuild
20 $(PREBUILD) /log $*.log /file $*.prebuild /ppi $*.results >& /dev/null
21 if ! cmp $*.expected $*.results; then \
22 echo $*.prebuild failed; \
23 false; \
24 fi
diff --git a/Prebuild/tests/README.txt b/Prebuild/tests/README.txt
new file mode 100644
index 0000000..2c2de3b
--- /dev/null
+++ b/Prebuild/tests/README.txt
@@ -0,0 +1,5 @@
1There are some tests that are run via a Makfile in this
2directory. They haven't been included in any form of unit tests, but
3they are there to help test the functionality in some what. Simply
4build prebuild (so there is a src/bin/Release/prebuild.exe) and type
5`make` in this directory. Everything should pass without errors.
diff --git a/Prebuild/tests/include-001.expected b/Prebuild/tests/include-001.expected
new file mode 100644
index 0000000..26374b5
--- /dev/null
+++ b/Prebuild/tests/include-001.expected
@@ -0,0 +1,46 @@
1<Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" version="1.7">
2 <Solution name="include-001" version="1.2.3">
3 <Configuration name="Debug">
4 <Options>
5 <CompilerDefines>DEBUG;TRACE</CompilerDefines>
6 <OptimizeCode>false</OptimizeCode>
7 <OutputPath>bin/Debug</OutputPath>
8 <DebugInformation>true</DebugInformation>
9 </Options>
10 </Configuration>
11 <Configuration name="Release">
12 <Options>
13 <CompilerDefines>TRACE</CompilerDefines>
14 <OutputPath>bin/Release</OutputPath>
15 <OptimizeCode>true</OptimizeCode>
16 <DebugInformation>false</DebugInformation>
17 </Options>
18 </Configuration>
19 <Project name="Prebuild" path="src" language="C#" assemblyName="include-001" type="Exe" version="1.2.3" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd">
20 <Configuration name="Debug">
21 <Options>
22 <CompilerDefines>DEBUG;TRACE</CompilerDefines>
23 <OptimizeCode>false</OptimizeCode>
24 <OutputPath>bin/Debug</OutputPath>
25 <DebugInformation>true</DebugInformation>
26 <KeyFile>Prebuild.snk</KeyFile>
27 <SuppressWarnings>1595</SuppressWarnings>
28 </Options>
29 </Configuration>
30 <Configuration name="Release">
31 <Options>
32 <CompilerDefines>TRACE</CompilerDefines>
33 <OutputPath>bin/Release</OutputPath>
34 <OptimizeCode>true</OptimizeCode>
35 <DebugInformation>false</DebugInformation>
36 <KeyFile>Prebuild.snk</KeyFile>
37 <SuppressWarnings>1595</SuppressWarnings>
38 </Options>
39 </Configuration>
40 <Reference name="System" />
41 <Files>
42 <Match pattern="*.cs" recurse="true" />
43 </Files>
44 </Project>
45 </Solution>
46</Prebuild>
diff --git a/Prebuild/tests/include-001.include b/Prebuild/tests/include-001.include
new file mode 100644
index 0000000..7f75962
--- /dev/null
+++ b/Prebuild/tests/include-001.include
@@ -0,0 +1,33 @@
1<Project name="Prebuild"
2 path="src"
3 language="C#"
4 assemblyName="include-001"
5 type="Exe"
6 version="1.2.3"
7 xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd"
8 >
9 <Configuration name="Debug">
10 <Options>
11 <CompilerDefines>DEBUG;TRACE</CompilerDefines>
12 <OptimizeCode>false</OptimizeCode>
13 <OutputPath>bin/Debug</OutputPath>
14 <DebugInformation>true</DebugInformation>
15 <KeyFile>Prebuild.snk</KeyFile>
16 <SuppressWarnings>1595</SuppressWarnings>
17 </Options>
18 </Configuration>
19 <Configuration name="Release">
20 <Options>
21 <CompilerDefines>TRACE</CompilerDefines>
22 <OutputPath>bin/Release</OutputPath>
23 <OptimizeCode>true</OptimizeCode>
24 <DebugInformation>false</DebugInformation>
25 <KeyFile>Prebuild.snk</KeyFile>
26 <SuppressWarnings>1595</SuppressWarnings>
27 </Options>
28 </Configuration>
29 <Reference name="System" />
30 <Files>
31 <Match pattern="*.cs" recurse="true"/>
32 </Files>
33</Project>
diff --git a/Prebuild/tests/include-001.prebuild b/Prebuild/tests/include-001.prebuild
new file mode 100644
index 0000000..8047008
--- /dev/null
+++ b/Prebuild/tests/include-001.prebuild
@@ -0,0 +1,22 @@
1<?xml version="1.0" encoding="utf-8" ?>
2<Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" version="1.7">
3 <Solution name="include-001" version="1.2.3">
4 <Configuration name="Debug">
5 <Options>
6 <CompilerDefines>DEBUG;TRACE</CompilerDefines>
7 <OptimizeCode>false</OptimizeCode>
8 <OutputPath>bin/Debug</OutputPath>
9 <DebugInformation>true</DebugInformation>
10 </Options>
11 </Configuration>
12 <Configuration name="Release">
13 <Options>
14 <CompilerDefines>TRACE</CompilerDefines>
15 <OutputPath>bin/Release</OutputPath>
16 <OptimizeCode>true</OptimizeCode>
17 <DebugInformation>false</DebugInformation>
18 </Options>
19 </Configuration>
20 <?include file="include-001.include"?>
21 </Solution>
22</Prebuild>
diff --git a/Prebuild/tests/include-002-2.include b/Prebuild/tests/include-002-2.include
new file mode 100644
index 0000000..661b7f3
--- /dev/null
+++ b/Prebuild/tests/include-002-2.include
@@ -0,0 +1,8 @@
1<Configuration name="Debug" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd">
2 <Options>
3 <CompilerDefines>DEBUG;TRACE</CompilerDefines>
4 <OptimizeCode>false</OptimizeCode>
5 <OutputPath>bin/Debug</OutputPath>
6 <DebugInformation>true</DebugInformation>
7 </Options>
8</Configuration>
diff --git a/Prebuild/tests/include-002.expected b/Prebuild/tests/include-002.expected
new file mode 100644
index 0000000..9849658
--- /dev/null
+++ b/Prebuild/tests/include-002.expected
@@ -0,0 +1,26 @@
1<Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" version="1.7">
2 <Solution name="include-002" version="1.2.3">
3 <Configuration name="Debug" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd">
4 <Options>
5 <CompilerDefines>DEBUG;TRACE</CompilerDefines>
6 <OptimizeCode>false</OptimizeCode>
7 <OutputPath>bin/Debug</OutputPath>
8 <DebugInformation>true</DebugInformation>
9 </Options>
10 </Configuration>
11 <Project name="Prebuild" path="src" language="C#" assemblyName="include-001" type="Exe" version="1.2.3" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd">
12 <Configuration name="Debug" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd">
13 <Options>
14 <CompilerDefines>DEBUG;TRACE</CompilerDefines>
15 <OptimizeCode>false</OptimizeCode>
16 <OutputPath>bin/Debug</OutputPath>
17 <DebugInformation>true</DebugInformation>
18 </Options>
19 </Configuration>
20 <Reference name="System" />
21 <Files>
22 <Match pattern="*.cs" recurse="true" />
23 </Files>
24 </Project>
25 </Solution>
26</Prebuild>
diff --git a/Prebuild/tests/include-002.include b/Prebuild/tests/include-002.include
new file mode 100644
index 0000000..64f4058
--- /dev/null
+++ b/Prebuild/tests/include-002.include
@@ -0,0 +1,14 @@
1<Project name="Prebuild"
2 path="src"
3 language="C#"
4 assemblyName="include-001"
5 type="Exe"
6 version="1.2.3"
7 xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd"
8 >
9 <?include file="include-002-2.include"?>
10 <Reference name="System" />
11 <Files>
12 <Match pattern="*.cs" recurse="true"/>
13 </Files>
14</Project>
diff --git a/Prebuild/tests/include-002.prebuild b/Prebuild/tests/include-002.prebuild
new file mode 100644
index 0000000..9e85f20
--- /dev/null
+++ b/Prebuild/tests/include-002.prebuild
@@ -0,0 +1,7 @@
1<?xml version="1.0" encoding="utf-8" ?>
2<Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.7.xsd" version="1.7">
3 <Solution name="include-002" version="1.2.3">
4 <?include file="include-002-2.include"?>
5 <?include file="include-002.include"?>
6 </Solution>
7</Prebuild>