mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-14 19:55:12 +01:00
Merge branch 'cmph-test-asserts' into 'main'
tests: Improve build of cmph tests in girepository See merge request GNOME/glib!3716
This commit is contained in:
commit
8f37874f90
@ -65,13 +65,22 @@ if cc.get_id() != 'msvc'
|
||||
])
|
||||
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,
|
||||
c_args: custom_c_args + ['-UG_DISABLE_ASSERT'],
|
||||
)
|
||||
|
||||
test('cmph-bdz-test', cmph_test)
|
||||
test('cmph-bdz-test', cmph_test,
|
||||
env: test_env,
|
||||
protocol: test_protocol,
|
||||
suite: ['girepository'],
|
||||
timeout: test_timeout,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user