[Spice-devel] [PATCH 00/10] server test fixes

Alon Levy alevy at redhat.com
Sat Jan 8 06:23:18 PST 2011


These patches rewrite most of the display test, adding a cursor
channel test (but not used in current tester), and making it easier
to add future tests by creating a command queue, see test_display_no_ssl.c
and test_display_streaming.c

The patches themselves are a mess, but
 a) it's tests - I don't think anyone is going to bisect this
 b) it's tests. Why spend the time ordering the patches?

Hope you agree :)

Alon Levy (10):
  server/tests/test_display_no_ssl: (revert me?) make window 320x320,
    two colored updates, one in notify batch
  [fixme] server/test/test_display_no_ssl: add basic cursor item test.
    doesn't actually show anything on client. also, leaks
  server/tests/test_display_no_ssl: [debug] bring back to display only
    tester
  server/tests: basic_event_loop: reset timer after firing it
  server/tests/test_display_no_ssl: restart notify timer
  server/tests/test_display_no_ssl: change color every circle
  server/tests: fix timer reset to allow setting next call during
    callback
  server/tests/test_display_no_ssl: add surface create/destroy test
    (commented out), and square mode (default)
  server/tests/test_display_no_ssl: add update_area, COPY_BITS to
    tested functions, make a queue of QXLCommandExt waiting (cursor
    still with production at get_command)
  server/tests: split test_display_no_ssl to test_display_base, add
    streaming test

 server/tests/Makefile.am              |    6 +-
 server/tests/basic_event_loop.c       |    1 +
 server/tests/test_display_base.c      |  574 +++++++++++++++++++++++++++++++++
 server/tests/test_display_base.h      |   23 ++
 server/tests/test_display_no_ssl.c    |  282 ++---------------
 server/tests/test_display_streaming.c |   27 ++
 6 files changed, 651 insertions(+), 262 deletions(-)
 create mode 100644 server/tests/test_display_base.c
 create mode 100644 server/tests/test_display_base.h
 create mode 100644 server/tests/test_display_streaming.c

-- 
1.7.3.4



More information about the Spice-devel mailing list