[Spice-devel] [PATCH spice-server v2 0/3] tests: Reuse and compatibilities improves

Frediano Ziglio fziglio at redhat.com
Fri Mar 3 14:21:20 UTC 2017


Extract some common code and put in a single file.
Improve rhel6 compatibility.

Changes since v1:
- put header stuff in a new file;
- similar way to exclude some deprecation warning.

Frediano Ziglio (3):
  tests: Move some glib compatibility code to a separate file
  tests: Move some specific GLib compatibility to compatibility file
  tests: Reuse GLib compatibility code

 server/tests/Makefile.am           |   3 +
 server/tests/test-codecs-parsing.c |  13 +----
 server/tests/test-glib-compat.c    | 112 +++++++++++++++++++++++++++++++++++++
 server/tests/test-glib-compat.h    |  42 ++++++++++++++
 server/tests/test-leaks.c          |   7 +--
 server/tests/test-options.c        |   7 +--
 server/tests/test-stat-file.c      |  10 +---
 server/tests/test-vdagent.c        |  92 +-----------------------------
 8 files changed, 162 insertions(+), 124 deletions(-)
 create mode 100644 server/tests/test-glib-compat.c
 create mode 100644 server/tests/test-glib-compat.h

-- 
2.9.3



More information about the Spice-devel mailing list