Remove:
test-display-streaming.c: In function 'get_commands':
test-display-streaming.c:218:42: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
218 | *commands = (Command*) calloc(sizeof(Command), *num_commands);
| ^~~~~~~
test-display-streaming.c:218:42: note: earlier argument should specify number of elements, later size of each element
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
What is here
============
This directory will contain a testsuite for the server.
You can run all the tests and use libtool to debug any of them:
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
event loop to provide core interface.
Automated tests
===============
test-display-streaming.c
this test can be used to check regressions. For this, test-display-streaming needs to be called passing --automated-tests as parameter