mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
girepository: Move cmph-bdz test to tests subfolder
We can avoid to maintain the special case and still works fine
This commit is contained in:
parent
8a4755106d
commit
18d0b0eb40
@ -64,23 +64,3 @@ if cc.get_id() != 'msvc'
|
|||||||
'-Wno-type-limits',
|
'-Wno-type-limits',
|
||||||
])
|
])
|
||||||
endif
|
endif
|
||||||
|
|
||||||
test_env = environment()
|
|
||||||
test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
|
|
||||||
test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
|
|
||||||
|
|
||||||
cmph_test = executable('cmph-bdz-test', '../cmph-bdz-test.c',
|
|
||||||
dependencies: [
|
|
||||||
cmph_dep,
|
|
||||||
libglib_dep,
|
|
||||||
libgobject_dep,
|
|
||||||
],
|
|
||||||
c_args: custom_c_args + ['-UG_DISABLE_ASSERT'],
|
|
||||||
)
|
|
||||||
|
|
||||||
test('cmph-bdz-test', cmph_test,
|
|
||||||
env: test_env,
|
|
||||||
protocol: test_protocol,
|
|
||||||
suite: ['girepository'],
|
|
||||||
timeout: test_timeout,
|
|
||||||
)
|
|
||||||
|
@ -3,6 +3,9 @@ girepository_tests = {}
|
|||||||
# Some GIR files are needed to test against
|
# Some GIR files are needed to test against
|
||||||
if enable_gir
|
if enable_gir
|
||||||
girepository_tests += {
|
girepository_tests += {
|
||||||
|
'cmph-bdz': {
|
||||||
|
'dependencies': [cmph_dep],
|
||||||
|
},
|
||||||
'gthash' : {},
|
'gthash' : {},
|
||||||
'repository' : {
|
'repository' : {
|
||||||
'depends': [glib_gir, gobject_gir],
|
'depends': [glib_gir, gobject_gir],
|
||||||
|
Loading…
Reference in New Issue
Block a user