Remove llGetEnv tests from tests; don't generate list in list

llGetEnv() is not computable now, so remove it from the computable functions unit test.

The test generated lists inside a list, and after the llGetEnv() change, that caused a weird side effect that hasn't been investigated (see test result of previous commit). To be on the safe side, take all list-generating results out of the list, into their own llSetPrimitiveParams call.
This commit is contained in:
Sei Lisa 2023-02-03 21:38:29 +01:00
parent f2ab8d9d15
commit d6162dfcf2
2 changed files with 6 additions and 10 deletions

View file

@ -18,17 +18,15 @@ default
, llEdgeOfWorld(<0,1,2>,<0,0,1>)
, llGetAgentInfo(".")
, llGetAgentLanguage("")
, llGetAgentList(3, [])
, llGetAgentSize(NULL_KEY)
, llGetAlpha(9)
, llGetAnimation("0")
, llGetAnimationList("")
, llGetBoundingBox("")
, llGetColor(9)
, llGetDisplayName("")
, llGetEnv("")
, llGetEnv("yadda")
, llGetStatus(STATUS_CAST_SHADOWS)
]);
llSetPrimitiveParams(llGetAgentList(3, []));
llSetPrimitiveParams(llGetAnimationList(""));
llSetPrimitiveParams(llGetBoundingBox(""));
}
}

View file

@ -17,17 +17,15 @@ default
, 1
, 0
, ""
, ["INVALID_SCOPE"]
, <0., 0., 0.>
, 1.
, ""
, []
, []
, <1., 1., 1.>
, ""
, ""
, ""
, 0
]);
llSetPrimitiveParams((list)"INVALID_SCOPE");
llSetPrimitiveParams([]);
llSetPrimitiveParams([]);
}
}