From f92e3e7c49fef4d136ddd7d2e7f817cb0b255f4b Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 8 Sep 2020 21:31:56 +1000 Subject: Add the old bash scripts. Most of these will eventually be rewritten as C + Lua. --- TestIt.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 TestIt.sh (limited to 'TestIt.sh') diff --git a/TestIt.sh b/TestIt.sh new file mode 100755 index 0000000..d1ebecf --- /dev/null +++ b/TestIt.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +export MONO_THREADS_PER_CPU=100 + +# For printing out line numbers use "exec /usr/bin/cli --debug /usr/lib/nunit/nunit-console.exe" instead of "nunit-console". + +echo "Standard tests." +mkdir -p ../db +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 +echo "SQL tests." +nunit-console bin/OpenSim.Data.Tests.dll -nologo -output=TestSQLOutput.txt -err=TestSQLError.txt -labels -noxml +echo "Standard tests, part two." +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 +echo "Physics tests." +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 +echo "Stress tests." +nunit-console bin/OpenSim.Tests.Stress.dll -nologo -output=TestStressOutput.txt -err=TestStressError.txt -labels -noxml +echo "Performance tests." +nunit-console bin/OpenSim.Tests.Performance.dll -nologo -output=TestPerfOutput.txt -err=TestPerfError.txt -labels -noxml +#echo "Optional tests." +#nunit-console bin/OpenSim.Region.OptionalModules.Tests.dll -nologo -output=TestOptOutput.txt -err=TestOptError.txt -labels -noxml +echo "Robust tests." +nunit-console bin/Robust.Tests.dll -nologo -output=TestRobustOutput.txt -err=TestRobustError.txt -labels -noxml -- cgit v1.1