mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-27 15:45:54 +00:00
and spice_server_playback_put_samples. The former retrieves a buffer from a free list with spice_server_playback_get_buffer, and should be used once via spice_server_playback_put_samples. The tester previously reused the same buffer a number of times. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| basic_event_loop.c | ||
| basic_event_loop.h | ||
| Makefile.am | ||
| README | ||
| test_display_base.c | ||
| test_display_base.h | ||
| test_display_no_ssl.c | ||
| test_display_streaming.c | ||
| test_empty_success.c | ||
| test_fail_on_null_core_interface.c | ||
| test_just_sockets_no_ssl.c | ||
| test_playback.c | ||
| test_util.h | ||
What is here ============ This directory will contain a testsuite for the server including tetris drawing. Unfortunately tetris and most of the tests are not here right now. You can however run all the tests and use libtool to debug any of them thus: libtool --mode=execute gdb test_just_sockets_no_ssl Overview of tests ================= test_just_sockets_no_ssl A complete server, only provides the main and inputs channels. Doesn't actually produce anything on the channels. Essentially a test of the regular link code (reds.c), good for multiple connect/disconnect tests. test_empty_success tests calling test_fail_on_null_core_interface should abort when run (when spice tries to watch_add) basic_event_loop.c used by test_just_sockets_no_ssl, can be used by other tests. very crude event loop. Should probably use libevent for better tests, but this is self contained.