aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/TestIt.sh
diff options
context:
space:
mode:
authoronefang2019-07-23 23:11:24 +1000
committeronefang2019-07-23 23:11:24 +1000
commitf2369cb0434e75465f8906cb643ba3eb66ba5d4f (patch)
tree6627245ae9324f2aab1bb4339714ef4114db0937 /TestIt.sh
parentUpdated for Mono 6. (diff)
downloadopensim-SC_OLD-f2369cb0434e75465f8906cb643ba3eb66ba5d4f.zip
opensim-SC_OLD-f2369cb0434e75465f8906cb643ba3eb66ba5d4f.tar.gz
opensim-SC_OLD-f2369cb0434e75465f8906cb643ba3eb66ba5d4f.tar.bz2
opensim-SC_OLD-f2369cb0434e75465f8906cb643ba3eb66ba5d4f.tar.xz
Add a test script for the unit tests.
Now that nant wont work anymore.
Diffstat (limited to 'TestIt.sh')
-rwxr-xr-xTestIt.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/TestIt.sh b/TestIt.sh
new file mode 100755
index 0000000..d1453a7
--- /dev/null
+++ b/TestIt.sh
@@ -0,0 +1,21 @@
1#!/bin/bash
2
3export MONO_THREADS_PER_CPU=100
4
5echo "Standard tests."
6mkdir -p ../db
7nunit-console bin/OpenSim.Tests.dll bin/OpenSim.Framework.Tests.dll bin/OpenSim.Framework.Servers.Tests.dll bin/OpenSim.Framework.Serialization.Tests.dll bin/OpenSim.Region.ClientStack.LindenCaps.Tests.dll bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll bin/OpenSim.Region.ScriptEngine.Tests.dll bin/OpenSim.Region.CoreModules.Tests.dll bin/OpenSim.Region.Framework.Tests.dll -nologo -output=TestOutput.txt -err=TestError.txt -labels -noxml
8echo "SQL tests."
9nunit-console bin/OpenSim.Data.Tests.dll -nologo -output=TestSQLOutput.txt -err=TestSQLError.txt -labels -noxml
10echo "Standard tests, part two."
11nunit-console bin/OpenSim.Capabilities.Handlers.Tests.dll bin/OpenSim.Server.Handlers.Tests.dll bin/OpenSim.Services.InventoryService.Tests.dll bin/OpenSim.Tests.Permissions.dll -nologo -output=Test1Output.txt -err=Test1Error.txt -labels -noxml
12echo "Physics tests."
13nunit-console bin/OpenSim.Region.PhysicsModule.BulletS.Tests.dll bin/OpenSim.Region.PhysicsModule.Ode.Tests.dll -nologo -output=TestPhysicsOutput.txt -err=TestPhysicsError.txt -labels -noxml
14echo "Stress tests."
15nunit-console bin/OpenSim.Tests.Stress.dll -nologo -output=TestStressOutput.txt -err=TestStressError.txt -labels -noxml
16echo "Performance tests."
17nunit-console bin/OpenSim.Tests.Performance.dll -nologo -output=TestPerfOutput.txt -err=TestPerfError.txt -labels -noxml
18echo "Optional tests."
19nunit-console bin/OpenSim.Region.OptionalModules.Tests.dll -nologo -output=TestOptOutput.txt -err=TestOptError.txt -labels -noxml
20echo "Robust tests."
21nunit-console bin/Robust.Tests.dll -nologo -output=TestRobustOutput.txt -err=TestRobustError.txt -labels -noxml