Justin Clark-Casey (justincc)
7b2f125fb6
In compiler regression tests, setup and teardown structures for each test to avoid any possibility of inter-test inter-ference
2014-06-18 22:46:54 +01:00
Justin Clark-Casey (justincc)
a0d6705fe6
Fix issue with LSL jumps screwing up the C# compiler error -> LSL code position map and leading to invalid error line numbers/columns
...
This is because jump statement generation was mistakenly inserting its own line without updating the csharp positions in CSCodeGenerator.
This is Aleric Inglewood's patch in http://opensimulator.org/mantis/view.php?id=7195 but applied to opensim itself rather than the defunct code generation in opensim-libs. Thanks!
This patch also adds a regression test for this case from myself.
2014-06-18 22:24:36 +01:00
Justin Clark-Casey (justincc)
5622cf68aa
In compiler tests, remove the ResolveEventHandlers after test exit
2014-05-27 18:47:42 +01:00
Justin Clark-Casey (justincc)
394ec508f6
Make CompilerTest add same AssemblyResolver as XEngine to see if this solves the issue with different AppDomain BaseDirectory in local and Jenkins test runs
2014-05-27 18:37:16 +01:00
Justin Clark-Casey (justincc)
bcaacb4e41
Temporarily print regression TestCastAndConcatString() script compile errors out to console to get a handle on what's going wrong.
...
Does not fail for me locally and I failed to notice this test was failing on Jenkins.
2014-05-27 18:19:08 +01:00
Justin Clark-Casey (justincc)
9bae636ff0
Fix issues where reported LSL compiler error line numbers do not match the script.
...
This is probably due to changes in the layout of the generated script preamble (using statements etc, ) in c8afc852
(Jan 17 2013).
Re-enabled existing regression test that exercises at least one case of this.
2014-05-24 00:12:23 +01:00
Justin Clark-Casey (justincc)
cf95b65c10
Get regression test TestUseUndeclaredVariable() functional again, though not yet enabled.
...
This reveals the position map problems and will make the fix (and subsequent continual checking) easier.
2014-05-23 22:29:47 +01:00
Justin Clark-Casey (justincc)
250ea09328
Reactivate regression test TestCastAndConcatString() in CompilerTests.
2014-05-23 22:12:49 +01:00
Justin Clark-Casey (justincc)
22d4c52ffc
Consistenly make NUnit test cases inherit from OpenSimTestCase which automatically turns off any logging enabled between tests
2012-11-24 03:15:24 +00:00
Justin Clark-Casey (justincc)
a92153ed88
Get all test methods in OpenSim.Region.ScriptEngine.Tests.dll to report that they're running
2012-03-06 02:21:19 +00:00
Jeff Ames
840de6c036
Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt.
2009-06-01 06:37:14 +00:00
Sean Dague
ce0a8d7bef
changes to Test directory structure per opensim-dev conversation
2008-09-08 20:34:45 +00:00