test runner / avatar test updates to make it work with current #339
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
was trying out the pretty nice automated test running system that the CIE guys made last year, and ported to tundra2 in the autumn.
it can run e.g. a server + clients that connect to it automatically with one command, log outputs and net usage with Wireshark, and nice html reports which are archived in zip etc.
fixed little things on the test running side to work with current.
the controversial part: i also adapted the stock reX avatar app client side to work in headless mode. just to make the old / pre-existing test against it run (that test is quite fun, headless js clients send av movement entity actions - i ran 26 clients on my laptop and watched them move their avs in a headed local server :) . this is useful at least if we want to use automated tests in the future to ensure that the av app doesn't break. possibly useful if it makes sense to use the av app for load testing as well. the client test sequence in the test script is quite nice to mimick human behav, the avs don't move all the time etc.
also cherry-picked a hack from the websocket branch to bring back server side avatar rotation support to the av app server side, as the old av test assumed it (like the old webnaali as well). might be better to implement client side rot in the av test and drop those commits - this pull request is more just drafting, not necessarily to be merged in this state.