tests: Add some trivial tests for g_thread_init()

It’s deprecated, but the big red 0/0/0 line for the `glib/gthread`
directory in the lcov output for GLib is driving me nuts.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall
2022-11-10 15:33:34 +00:00
parent 7077e7d819
commit 5585d15d9c
3 changed files with 120 additions and 0 deletions

View File

@@ -36,3 +36,7 @@ pkg.generate(libgthread,
libgthread_dep = declare_dependency(link_with : libgthread)
meson.override_dependency('gthread-2.0', libgthread_dep)
if build_tests
subdir('tests')
endif