1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2026-10-24 00:49:00 +03:00

Use test-profile-dep in tests

This commit is contained in:
Luca Bacci
2026-01-28 14:55:25 +01:00
parent 1792a535a7
commit 84931d5926
8 changed files with 11 additions and 11 deletions

View File

@@ -49,7 +49,7 @@ fuzz_targets = [
'fuzz_variant_text',
]
deps = [libgmodule_dep, libgio_dep, libglib_dep, libgobject_dep, app_profile_dep]
deps = [libgmodule_dep, libgio_dep, libglib_dep, libgobject_dep, test_profile_dep]
extra_sources = []
extra_c_args = cc.get_supported_arguments('-Werror=unused-function')

View File

@@ -634,7 +634,7 @@ if host_machine.system() != 'windows'
# This test is currently unreliable
executable('gdbus-overflow', 'gdbus-overflow.c',
c_args : test_c_args,
dependencies : common_gio_tests_deps + [app_profile_dep],
dependencies : common_gio_tests_deps + [test_profile_dep],
install_dir : installed_tests_execdir,
install_tag : 'tests',
install : installed_tests_enabled)
@@ -1128,7 +1128,7 @@ foreach program_name, extra_args : test_extra_programs
program_name : executable(program_name,
sources: [source, extra_sources],
c_args : test_c_args,
dependencies : common_gio_tests_deps + extra_args.get('dependencies', []) + [app_profile_dep],
dependencies : common_gio_tests_deps + extra_args.get('dependencies', []) + [test_profile_dep],
install_dir : installed_tests_execdir,
install_tag : 'tests',
install : install,
@@ -1167,7 +1167,7 @@ foreach test_name, extra_args : gio_tests
exe = executable(test_name, [source, extra_sources],
c_args : test_c_args + extra_args.get('c_args', []),
cpp_args : test_cpp_args + extra_args.get('cpp_args', []),
dependencies : common_gio_tests_deps + extra_args.get('dependencies', []) + [app_profile_dep],
dependencies : common_gio_tests_deps + extra_args.get('dependencies', []) + [test_profile_dep],
install_rpath : extra_args.get('install_rpath', ''),
install_dir: installed_tests_execdir,
install_tag: 'tests',

View File

@@ -97,7 +97,7 @@ test_env = environment()
test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
test_deps = [libm, thread_dep, libgirepository_dep, app_profile_dep]
test_deps = [libm, thread_dep, libgirepository_dep, test_profile_dep]
test_cargs = ['-DG_LOG_DOMAIN="GIRepository"', '-UG_DISABLE_ASSERT', warning_sign_conversion_args]
test_cpp_args = test_cargs

View File

@@ -400,8 +400,8 @@ test_env = environment()
test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
test_deps = [libm, thread_dep, libglib_dep, app_profile_dep]
test_deps_static = [libm, thread_dep, libglib_static_dep, app_profile_dep]
test_deps = [libm, thread_dep, libglib_dep, test_profile_dep]
test_deps_static = [libm, thread_dep, libglib_static_dep, test_profile_dep]
test_cargs = ['-DG_LOG_DOMAIN="GLib"', '-UG_DISABLE_ASSERT']
test_cpp_args = test_cargs

View File

@@ -74,7 +74,7 @@ test_env = environment()
test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
test_deps = [libm, thread_dep, libglib_dep, libgmodule_dep, app_profile_dep]
test_deps = [libm, thread_dep, libglib_dep, libgmodule_dep, test_profile_dep]
test_cargs = ['-DG_LOG_DOMAIN="GModule"', '-UG_DISABLE_ASSERT', warning_sign_conversion_args]
test_cpp_args = test_cargs

View File

@@ -153,7 +153,7 @@ test_env = environment()
test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
test_deps = [libm, thread_dep, libglib_dep, libgobject_dep, app_profile_dep]
test_deps = [libm, thread_dep, libglib_dep, libgobject_dep, test_profile_dep]
test_cargs = ['-DG_LOG_DOMAIN="GLib-GObject"', '-UG_DISABLE_ASSERT', warning_sign_conversion_args]
test_cpp_args = test_cargs

View File

@@ -11,7 +11,7 @@ test_env = environment()
test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
test_deps = [libm, thread_dep, libglib_dep, libgobject_dep, app_profile_dep]
test_deps = [libm, thread_dep, libglib_dep, libgobject_dep, test_profile_dep]
test_cargs = ['-DG_LOG_DOMAIN="GLib-GObject"', '-UG_DISABLE_ASSERT']
foreach test_name, extra_args : gobject_tests

View File

@@ -6,7 +6,7 @@ test_env = environment()
test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
test_deps = [thread_dep, libglib_dep, libgthread_dep, app_profile_dep]
test_deps = [thread_dep, libglib_dep, libgthread_dep, test_profile_dep]
test_cargs = ['-DG_LOG_DOMAIN="GLib-GThread"', '-UG_DISABLE_ASSERT', warning_sign_conversion_args, warning_shorten_64_to_32_args]
test_cpp_args = test_cargs