mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-02 08:08:20 +00:00
Add the new test suite.
This test suite has been in use for a long time now, in place of the obsolete and unmanageable testparser.py and testfuncs.py. It verifies the complete optimizer output to stdout and stderr, to ensure that the output matches the expectations. See unit_tests/README.txt for more info.
This commit is contained in:
parent
7fbde0269c
commit
1867dc78e7
547 changed files with 11680 additions and 0 deletions
62
unit_tests/coverage.suite/inline-4.out
Normal file
62
unit_tests/coverage.suite/inline-4.out
Normal file
|
@ -0,0 +1,62 @@
|
|||
default
|
||||
{
|
||||
state_entry()
|
||||
{
|
||||
{
|
||||
llOwnerSay("f1");
|
||||
}
|
||||
{
|
||||
llOwnerSay("f1");
|
||||
}
|
||||
{
|
||||
{
|
||||
llOwnerSay("f2:" + "3");
|
||||
}
|
||||
}
|
||||
vector ___ret__00001 = <((float)0), ((float)0), ((float)0)>;
|
||||
{
|
||||
{
|
||||
{
|
||||
{
|
||||
llOwnerSay("f2:" + "4");
|
||||
}
|
||||
}
|
||||
{
|
||||
jump ___lbl__00005;
|
||||
}
|
||||
@___lbl__00005;
|
||||
{
|
||||
___ret__00001 = <((float)1), ((float)1), ((float)1)>;
|
||||
jump ___rtl__00004;
|
||||
}
|
||||
integer ___ret__00002;
|
||||
{
|
||||
{
|
||||
___ret__00002 = llGetLinkNumber();
|
||||
jump ___rtl__00007;
|
||||
}
|
||||
}
|
||||
@___rtl__00007;
|
||||
do
|
||||
;
|
||||
while (___ret__00002);
|
||||
{
|
||||
___ret__00001 = <((float)0), ((float)0), ((float)0)>;
|
||||
jump ___rtl__00004;
|
||||
}
|
||||
}
|
||||
}
|
||||
@___rtl__00004;
|
||||
if (___ret__00001 == <((float)0), ((float)0), ((float)0)>)
|
||||
llOwnerSay("ok");
|
||||
}
|
||||
|
||||
timer()
|
||||
{
|
||||
{
|
||||
{
|
||||
llOwnerSay("hi");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue