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 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel