From 2d6dc9ff2ed1c6994b9cfe4d518eeafb14b3f4ca Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Thu, 17 Mar 2022 18:36:58 +0100 Subject: [PATCH] Move tests/relation-test.c to glib/tests/relation.c Related to issue #1434 --- glib/tests/meson.build | 1 + tests/relation-test.c => glib/tests/relation.c | 2 ++ tests/meson.build | 1 - 3 files changed, 3 insertions(+), 1 deletion(-) rename tests/relation-test.c => glib/tests/relation.c (98%) diff --git a/glib/tests/meson.build b/glib/tests/meson.build index a0c64afe6..d05c0b5c4 100644 --- a/glib/tests/meson.build +++ b/glib/tests/meson.build @@ -89,6 +89,7 @@ glib_tests = { 'dependencies' : [pcre], 'c_args' : use_pcre_static_flag ? ['-DPCRE_STATIC'] : [], }, + 'relation' : {}, 'rwlock' : {}, 'scannerapi' : {}, 'search-utils' : {}, diff --git a/tests/relation-test.c b/glib/tests/relation.c similarity index 98% rename from tests/relation-test.c rename to glib/tests/relation.c index fb4802f42..f96890b2b 100644 --- a/tests/relation-test.c +++ b/glib/tests/relation.c @@ -22,6 +22,8 @@ * GLib at ftp://ftp.gtk.org/pub/gtk/. */ +#define GLIB_DISABLE_DEPRECATION_WARNINGS + #include int array[10000]; diff --git a/tests/meson.build b/tests/meson.build index 5ff99a4a8..fa7fddb84 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -20,7 +20,6 @@ tests = { 'mainloop-test' : {}, 'mapping-test' : {}, 'onceinit' : {}, - 'relation-test' : {}, 'slice-concurrent' : {}, 'slice-threadinit' : { 'dependencies' : [libgthread_dep],