Marc-Andre Lureau
3364af70a3
tests: remove test_util.h
...
Replace ASSERT() with spice_assert().
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2015-12-21 11:44:34 +00:00
Christophe Fergeau
e5e3e9eefe
Add missing license headers
2015-10-19 14:25:36 +02:00
Fabiano Fidêncio
b76e561d82
Fix -Wmissing-field-initializers
2014-09-12 18:00:30 +02:00
Fabiano Fidêncio
08b3e1d8f1
Fix -Wsign
2014-09-12 18:00:30 +02:00
Fabiano Fidêncio
5ea7de3bcc
Fix -Wunused-parameter
2014-09-12 18:00:30 +02:00
Christophe Fergeau
3ac428b4b7
tests: Remove unused variables
...
coverity spotted some variables that were declared but not used in
server/tests
2014-01-02 18:06:08 +01:00
Daniel P. Berrange
7427b23d84
Add missing includes of config.h
...
Not all files were including config.h
2012-01-13 18:11:59 +02:00
Daniel P. Berrange
d46bc77278
Remove bogus include of strings.h
...
The tests include strings.h but don't need any of its functions
2012-01-13 18:11:59 +02:00
Christophe Fergeau
011266555a
server: fix function prototypes
...
Several functions in server/ were not specifying an argument list,
ie they were declared as void foo(); When compiling with
-Wstrict-prototypes, this leads to:
test_playback.c:93:5: erreur: function declaration isn’t a prototype
[-Werror=strict-prototypes]
2011-09-05 07:52:20 +02:00
Alon Levy
2bddc6e33c
server/tests/test_playback: correctly use spice_server_playback_get_buffer
...
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.
2011-08-23 17:01:14 +03:00
Marc-André Lureau
138c421193
build: fix gettimeofday warning
...
CC test_playback.o
test_playback.c: In function ‘playback_timer_cb’:
test_playback.c:56:5: warning: implicit declaration of function ‘gettimeofday’
2011-05-03 17:16:46 +02:00
Alon Levy
02c3f54deb
server/tests: add test_playback
2011-03-22 09:44:52 +02:00