From 7f332ccdfd0406e319cc65fe09ecca442c2add9c Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 1 Aug 2019 05:55:53 +1000 Subject: Comments++ about how to build and test debug builds. --- BuildIt.sh | 1 + TestIt.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/BuildIt.sh b/BuildIt.sh index c51a349..86948b6 100755 --- a/BuildIt.sh +++ b/BuildIt.sh @@ -25,4 +25,5 @@ if [ "4" == $(mono -V | head -n 1 | cut -d ' ' -f 5 | cut -d '.' -f 1) ]; then else # Use this for Mono 5 and later. msbuild /p:Configuration=Release +# msbuild /p:Configuration=Debug fi diff --git a/TestIt.sh b/TestIt.sh index d1453a7..9ac3e50 100755 --- a/TestIt.sh +++ b/TestIt.sh @@ -2,6 +2,8 @@ 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 -- cgit v1.1