[Spice-commits] server/tests

Frediano Ziglio fziglio at kemper.freedesktop.org
Mon Dec 5 12:32:44 UTC 2016


 server/tests/test-codecs-parsing.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit b53c0d368b1c5c11c1c53d7e018c681d661e0731
Author: Pavel Grunt <pgrunt at redhat.com>
Date:   Mon Dec 5 09:10:47 2016 +0100

    test: Ignore too new warnings
    
    There is an explicit check for the version
    
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/server/tests/test-codecs-parsing.c b/server/tests/test-codecs-parsing.c
index 0e23553..c1b3276 100644
--- a/server/tests/test-codecs-parsing.c
+++ b/server/tests/test-codecs-parsing.c
@@ -54,6 +54,7 @@ static void codecs_good(void)
 
 /* g_test_expect_message is available since Glib 2.34 */
 #if GLIB_CHECK_VERSION(2, 34, 0)
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 static void codecs_bad(void)
 {
     guint i;
@@ -116,6 +117,7 @@ static void codecs_bad(void)
 
     spice_server_destroy(server);
 }
+G_GNUC_END_IGNORE_DEPRECATIONS
 #endif
 
 int main(int argc, char *argv[])


More information about the Spice-commits mailing list