diff options
author | onefang | 2019-07-23 23:11:24 +1000 |
---|---|---|
committer | onefang | 2019-07-23 23:11:24 +1000 |
commit | f2369cb0434e75465f8906cb643ba3eb66ba5d4f (patch) | |
tree | 6627245ae9324f2aab1bb4339714ef4114db0937 | |
parent | Updated for Mono 6. (diff) | |
download | opensim-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.
-rwxr-xr-x | TestIt.sh | 21 |
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 | |||
3 | export MONO_THREADS_PER_CPU=100 | ||
4 | |||
5 | echo "Standard tests." | ||
6 | mkdir -p ../db | ||
7 | nunit-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 | ||
8 | echo "SQL tests." | ||
9 | nunit-console bin/OpenSim.Data.Tests.dll -nologo -output=TestSQLOutput.txt -err=TestSQLError.txt -labels -noxml | ||
10 | echo "Standard tests, part two." | ||
11 | nunit-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 | ||
12 | echo "Physics tests." | ||
13 | nunit-console bin/OpenSim.Region.PhysicsModule.BulletS.Tests.dll bin/OpenSim.Region.PhysicsModule.Ode.Tests.dll -nologo -output=TestPhysicsOutput.txt -err=TestPhysicsError.txt -labels -noxml | ||
14 | echo "Stress tests." | ||
15 | nunit-console bin/OpenSim.Tests.Stress.dll -nologo -output=TestStressOutput.txt -err=TestStressError.txt -labels -noxml | ||
16 | echo "Performance tests." | ||
17 | nunit-console bin/OpenSim.Tests.Performance.dll -nologo -output=TestPerfOutput.txt -err=TestPerfError.txt -labels -noxml | ||
18 | echo "Optional tests." | ||
19 | nunit-console bin/OpenSim.Region.OptionalModules.Tests.dll -nologo -output=TestOptOutput.txt -err=TestOptError.txt -labels -noxml | ||
20 | echo "Robust tests." | ||
21 | nunit-console bin/Robust.Tests.dll -nologo -output=TestRobustOutput.txt -err=TestRobustError.txt -labels -noxml | ||