diff options
Diffstat (limited to '.nant')
-rw-r--r-- | .nant/local.include | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/.nant/local.include b/.nant/local.include index 8963772..51146dc 100644 --- a/.nant/local.include +++ b/.nant/local.include | |||
@@ -48,12 +48,12 @@ | |||
48 | </target> | 48 | </target> |
49 | 49 | ||
50 | <target name="test-cov" depends="build"> | 50 | <target name="test-cov" depends="build"> |
51 | <!-- Code Coverage Test --> | 51 | <!-- Code Coverage Test. Prototype, only works with mono 1.2. Instructions in http://opensimulator.org/wiki/Automated_Testing --> |
52 | <mkdir dir="cov" failonerror="false" /> | 52 | <mkdir dir="cov" failonerror="false" /> |
53 | <exec program="mono"> | 53 | <exec program="mono"> |
54 | <arg value="--debug" /> | 54 | <arg value="--debug" /> |
55 | <arg value="--profile=monocov:outfile=./cov/OpenSim.Framework.Servers.cov,+[OpenSim.Framework.Servers]" /> | 55 | <arg value="--profile=monocov:outfile=./cov/OpenSim.Framework.Servers.cov,+[OpenSim.Framework.Servers]" /> |
56 | <arg value="/usr/lib/nunit2/nunit-console.exe" /> | 56 | <arg value="/usr/lib/nunit/nunit-console.exe" /> |
57 | <arg value="./bin/OpenSim.Framework.Servers.Tests.dll" /> | 57 | <arg value="./bin/OpenSim.Framework.Servers.Tests.dll" /> |
58 | </exec> | 58 | </exec> |
59 | <delete dir="./cov/OpenSim.Framework.Servers" /> | 59 | <delete dir="./cov/OpenSim.Framework.Servers" /> |
@@ -64,7 +64,7 @@ | |||
64 | <exec program="mono"> | 64 | <exec program="mono"> |
65 | <arg value="--debug" /> | 65 | <arg value="--debug" /> |
66 | <arg value="--profile=monocov:outfile=./cov/OpenSim.Region.ClientStack.LindenUDP.cov,+[OpenSim.Region.ClientStack.LindenUDP]" /> | 66 | <arg value="--profile=monocov:outfile=./cov/OpenSim.Region.ClientStack.LindenUDP.cov,+[OpenSim.Region.ClientStack.LindenUDP]" /> |
67 | <arg value="/usr/lib/nunit2/nunit-console.exe" /> | 67 | <arg value="/usr/lib/nunit/nunit-console.exe" /> |
68 | <arg value="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" /> | 68 | <arg value="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" /> |
69 | </exec> | 69 | </exec> |
70 | <delete dir="./cov/OpenSim.Region.ClientStack.LindenUDP" /> | 70 | <delete dir="./cov/OpenSim.Region.ClientStack.LindenUDP" /> |
@@ -75,10 +75,10 @@ | |||
75 | <exec program="mono"> | 75 | <exec program="mono"> |
76 | <arg value="--debug" /> | 76 | <arg value="--debug" /> |
77 | <arg value="--profile=monocov:outfile=./cov/OpenSim.Region.ScriptEngine.Shared.cov,+[OpenSim.Region.ScriptEngine.Shared]" /> | 77 | <arg value="--profile=monocov:outfile=./cov/OpenSim.Region.ScriptEngine.Shared.cov,+[OpenSim.Region.ScriptEngine.Shared]" /> |
78 | <arg value="/usr/lib/nunit2/nunit-console.exe" /> | 78 | <arg value="/usr/lib/nunit/nunit-console.exe" /> |
79 | <arg value="./bin/OpenSim.Region.ScriptEngine.Shared.Tests.dll" /> | 79 | <arg value="./bin/OpenSim.Region.ScriptEngine.Shared.Tests.dll" /> |
80 | </exec> | 80 | </exec> |
81 | <delete dir="./cov/penSim.Region.ScriptEngine.Shared" /> | 81 | <delete dir="./cov/OpenSim.Region.ScriptEngine.Shared" /> |
82 | <exec program="monocov"> | 82 | <exec program="monocov"> |
83 | <arg value="--export-html=./cov/OpenSim.Region.ScriptEngine.Shared ./cov/OpenSim.Region.ScriptEngine.Shared.cov" /> | 83 | <arg value="--export-html=./cov/OpenSim.Region.ScriptEngine.Shared ./cov/OpenSim.Region.ScriptEngine.Shared.cov" /> |
84 | </exec> | 84 | </exec> |
@@ -86,7 +86,7 @@ | |||
86 | <exec program="mono"> | 86 | <exec program="mono"> |
87 | <arg value="--debug" /> | 87 | <arg value="--debug" /> |
88 | <arg value="--profile=monocov:outfile=./cov/OpenSim.Region.ScriptEngine.Shared.CodeTools.cov,+[OpenSim.Region.ScriptEngine.Shared.CodeTools]" /> | 88 | <arg value="--profile=monocov:outfile=./cov/OpenSim.Region.ScriptEngine.Shared.CodeTools.cov,+[OpenSim.Region.ScriptEngine.Shared.CodeTools]" /> |
89 | <arg value="/usr/lib/nunit2/nunit-console.exe" /> | 89 | <arg value="/usr/lib/nunit/nunit-console.exe" /> |
90 | <arg value="./bin/OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests.dll" /> | 90 | <arg value="./bin/OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests.dll" /> |
91 | </exec> | 91 | </exec> |
92 | <delete dir="./cov/OpenSim.Region.ScriptEngine.Shared.CodeTools" /> | 92 | <delete dir="./cov/OpenSim.Region.ScriptEngine.Shared.CodeTools" /> |
@@ -97,7 +97,7 @@ | |||
97 | <exec program="mono"> | 97 | <exec program="mono"> |
98 | <arg value="--debug" /> | 98 | <arg value="--debug" /> |
99 | <arg value="--profile=monocov:outfile=./cov/OpenSim.Region.Environment.cov,+[OpenSim.Region.Environment]" /> | 99 | <arg value="--profile=monocov:outfile=./cov/OpenSim.Region.Environment.cov,+[OpenSim.Region.Environment]" /> |
100 | <arg value="/usr/lib/nunit2/nunit-console.exe" /> | 100 | <arg value="/usr/lib/nunit/nunit-console.exe" /> |
101 | <arg value="./bin/OpenSim.Region.Environment.Tests.dll" /> | 101 | <arg value="./bin/OpenSim.Region.Environment.Tests.dll" /> |
102 | </exec> | 102 | </exec> |
103 | <delete dir="./cov/OpenSim.Region.Environment" /> | 103 | <delete dir="./cov/OpenSim.Region.Environment" /> |
@@ -108,7 +108,7 @@ | |||
108 | <exec program="mono"> | 108 | <exec program="mono"> |
109 | <arg value="--debug" /> | 109 | <arg value="--debug" /> |
110 | <arg value="--profile=monocov:outfile=./cov/OpenSim.Data.SQLite.cov,+[OpenSim.Data.SQLite]" /> | 110 | <arg value="--profile=monocov:outfile=./cov/OpenSim.Data.SQLite.cov,+[OpenSim.Data.SQLite]" /> |
111 | <arg value="/usr/lib/nunit2/nunit-console.exe" /> | 111 | <arg value="/usr/lib/nunit/nunit-console.exe" /> |
112 | <arg value="./bin/OpenSim.Data.SQLite.Tests.dll" /> | 112 | <arg value="./bin/OpenSim.Data.SQLite.Tests.dll" /> |
113 | </exec> | 113 | </exec> |
114 | <delete dir="./cov/OpenSim.Data.SQLite" /> | 114 | <delete dir="./cov/OpenSim.Data.SQLite" /> |
@@ -119,13 +119,15 @@ | |||
119 | <exec program="mono"> | 119 | <exec program="mono"> |
120 | <arg value="--debug" /> | 120 | <arg value="--debug" /> |
121 | <arg value="--profile=monocov:outfile=./cov/OpenSim.Data.MySQL.cov,+[OpenSim.Data.MySQL.Tests]" /> | 121 | <arg value="--profile=monocov:outfile=./cov/OpenSim.Data.MySQL.cov,+[OpenSim.Data.MySQL.Tests]" /> |
122 | <arg value="/usr/lib/nunit2/nunit-console.exe" /> | 122 | <arg value="/usr/lib/nunit/nunit-console.exe" /> |
123 | <arg value="./bin/OpenSim.Data.MySQL.Tests.dll" /> | 123 | <arg value="./bin/OpenSim.Data.MySQL.Tests.dll" /> |
124 | </exec> | 124 | </exec> |
125 | <delete dir="./cov/OpenSim.Data.MySQL" /> | 125 | <delete dir="./cov/OpenSim.Data.MySQL" /> |
126 | <exec program="monocov"> | 126 | <exec program="monocov"> |
127 | <arg value="--export-html=./cov/OpenSim.Data.MySQL ./cov/OpenSim.Data.MySQL.cov" /> | 127 | <arg value="--export-html=./cov/OpenSim.Data.MySQL ./cov/OpenSim.Data.MySQL.cov" /> |
128 | </exec> | 128 | </exec> |
129 | <delete file="C:\NUnitPrimaryTrace.txt" failonerror="false" /> | ||
130 | <delete file="TestResult.xml" failonerror="false" /> | ||
129 | </target> | 131 | </target> |
130 | 132 | ||
131 | 133 | ||