diff options
author | Sean Dague | 2009-08-31 17:44:52 -0400 |
---|---|---|
committer | Sean Dague | 2009-08-31 17:44:52 -0400 |
commit | 441518bad6e78191a79ff2680789a351ef83cd33 (patch) | |
tree | f415ea96580001f7e823233a7fe8aa21f5e6d212 /.nant | |
parent | retrigger panda now that we've shifted around a few things on the box (diff) | |
download | opensim-SC_OLD-441518bad6e78191a79ff2680789a351ef83cd33.zip opensim-SC_OLD-441518bad6e78191a79ff2680789a351ef83cd33.tar.gz opensim-SC_OLD-441518bad6e78191a79ff2680789a351ef83cd33.tar.bz2 opensim-SC_OLD-441518bad6e78191a79ff2680789a351ef83cd33.tar.xz |
change the way the unit tests are run in the hopes of greater stability
Diffstat (limited to '.nant')
-rw-r--r-- | .nant/local.include | 93 |
1 files changed, 77 insertions, 16 deletions
diff --git a/.nant/local.include b/.nant/local.include index 58285bb..c4b75f2 100644 --- a/.nant/local.include +++ b/.nant/local.include | |||
@@ -156,25 +156,86 @@ | |||
156 | 156 | ||
157 | </target> | 157 | </target> |
158 | 158 | ||
159 | <!-- this is used for panda test execution --> | ||
160 | <!-- work in progress --> | ||
159 | 161 | ||
160 | <target name="test-xml" depends="build"> | 162 | <target name="test-xml" depends="build"> |
161 | <nunit2 failonerror="true" verbose="true"> | 163 | <mkdir dir="test-results" failonerror="false" /> |
162 | <formatter type="Xml" usefile="true" extension=".xml" outputdir="./test-results" /> | 164 | <!-- Unit Test Assembly --> |
163 | <test> | 165 | <exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.framework.tests"> |
164 | <assemblies> | 166 | <arg value="./bin/OpenSim.Framework.Tests.dll" /> |
165 | <include name="./bin/OpenSim.Framework.Tests.dll" /> | 167 | <arg value="-xml=test-results/OpenSim.Framework.Tests.dll-Results.xml" /> |
166 | <include name="./bin/OpenSim.Framework.Communications.Tests.dll"/> | 168 | </exec> |
167 | <include name="./bin/OpenSim.Framework.Servers.Tests.dll" /> | 169 | |
168 | <include name="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" /> | 170 | <exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.framework.communications.tests"> |
169 | <include name="./bin/OpenSim.Region.ScriptEngine.Tests.dll" /> | 171 | <arg value="./bin/OpenSim.Framework.Communications.Tests.dll" /> |
170 | <include name="./bin/OpenSim.Region.CoreModules.Tests.dll" /> | 172 | <arg value="-xml=test-results/OpenSim.Framework.Communications.Tests.dll-Results.xml" /> |
171 | <include name="./bin/OpenSim.Region.Framework.Tests.dll" /> | 173 | </exec> |
172 | <include name="./bin/OpenSim.Data.SQLite.Tests.dll" /> | 174 | |
173 | <include name="./bin/OpenSim.Data.MySQL.Tests.dll" /> | 175 | <exec program="nunit-console2" failonerror="false" resultproperty="testresult.OpenSim.Framework.Servers.Tests"> |
174 | </assemblies> | 176 | <arg value="./bin/OpenSim.Framework.Servers.Tests.dll" /> |
175 | </test> | 177 | <arg value="-xml=test-results/OpenSim.Framework.Servers.Tests.dll-Results.xml" /> |
176 | </nunit2> | 178 | </exec> |
179 | |||
180 | <exec program="nunit-console2" failonerror="false" resultproperty="testresult.OpenSim.Region.ClientStack.LindenUDP.Tests"> | ||
181 | <arg value="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" /> | ||
182 | <arg value="-xml=test-results/OpenSim.Region.ClientStack.LindenUDP.Tests.dll-Results.xml" /> | ||
183 | </exec> | ||
184 | |||
185 | <exec program="nunit-console2" failonerror="false" resultproperty="testresult.OpenSim.Region.ScriptEngine.Tests"> | ||
186 | <arg value="./bin/OpenSim.Region.ScriptEngine.Tests.dll" /> | ||
187 | <arg value="-xml=test-results/OpenSim.Region.ScriptEngine.Tests.dll-Results.xml" /> | ||
188 | </exec> | ||
189 | |||
190 | <exec program="nunit-console2" failonerror="false" resultproperty="testresult.OpenSim.Region.CoreModules.Tests"> | ||
191 | <arg value="./bin/OpenSim.Region.CoreModules.Tests.dll" /> | ||
192 | <arg value="-xml=test-results/OpenSim.Region.CoreModules.Tests.dll-Results.xml" /> | ||
193 | </exec> | ||
194 | |||
195 | <exec program="nunit-console2" failonerror="false" resultproperty="testresult.OpenSim.Region.Framework.Tests"> | ||
196 | <arg value="./bin/OpenSim.Region.Framework.Tests.dll" /> | ||
197 | <arg value="-xml=test-results/OpenSim.Region.Framework.Tests.dll-Results.xml" /> | ||
198 | </exec> | ||
199 | |||
200 | <exec program="nunit-console2" failonerror="false" resultproperty="testresult.OpenSim.Data.SQLite.Tests"> | ||
201 | <arg value="./bin/OpenSim.Data.SQLite.Tests.dll" /> | ||
202 | <arg value="-xml=test-results/OpenSim.Data.SQLite.Tests.dll-Results.xml" /> | ||
203 | </exec> | ||
204 | |||
205 | <exec program="nunit-console2" failonerror="false" resultproperty="testresult.OpenSim.Data.MySQL.Tests"> | ||
206 | <arg value="./bin/OpenSim.Data.MySQL.Tests.dll" /> | ||
207 | <arg value="-xml=test-results/OpenSim.Data.MySQL.Tests.dll-Results.xml" /> | ||
208 | </exec> | ||
209 | |||
177 | </target> | 210 | </target> |
211 | <!-- <exec program="nunit-console.exe" failonerror="false" resultproperty="testresult.acceptancetestassembly"> --> | ||
212 | <!-- <arg value="AcceptanceTestAssembly.dll" /> --> | ||
213 | <!-- <arg value="/xml=AcceptanceTestAssembly-Results.xml" /> --> | ||
214 | <!-- </exec> --> | ||
215 | |||
216 | <!-- <fail message="Failures reported in unit tests." unless="${int::parse(testresult.unittestassembly)==0}" /> --> | ||
217 | <!-- <fail message="Failures reported in acceptance tests." unless="${int::parse(testresult.acceptancetestassembly)==0}" /> --> | ||
218 | <!-- </target> --> | ||
219 | |||
220 | |||
221 | |||
222 | <!-- <nunit2 failonerror="true" verbose="true"> --> | ||
223 | <!-- <formatter type="Xml" usefile="true" extension=".xml" outputdir="./test-results" /> --> | ||
224 | <!-- <test> --> | ||
225 | <!-- <assemblies> --> | ||
226 | <!-- <include name="./bin/OpenSim.Framework.Tests.dll" /> --> | ||
227 | <!-- <include name="./bin/OpenSim.Framework.Communications.Tests.dll"/> --> | ||
228 | <!-- <include name="./bin/OpenSim.Framework.Servers.Tests.dll" /> --> | ||
229 | <!-- <include name="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" /> --> | ||
230 | <!-- <include name="./bin/OpenSim.Region.ScriptEngine.Tests.dll" /> --> | ||
231 | <!-- <include name="./bin/OpenSim.Region.CoreModules.Tests.dll" /> --> | ||
232 | <!-- <include name="./bin/OpenSim.Region.Framework.Tests.dll" /> --> | ||
233 | <!-- <include name="./bin/OpenSim.Data.SQLite.Tests.dll" /> --> | ||
234 | <!-- <include name="./bin/OpenSim.Data.MySQL.Tests.dll" /> --> | ||
235 | <!-- </assemblies> --> | ||
236 | <!-- </test> --> | ||
237 | <!-- </nunit2> --> | ||
238 | <!-- </target> --> | ||
178 | 239 | ||
179 | <target name="doxygen"> | 240 | <target name="doxygen"> |
180 | <exec program="doxygen" workingdir="doc" commandline="doxygen.conf" /> | 241 | <exec program="doxygen" workingdir="doc" commandline="doxygen.conf" /> |