mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-02 08:37:59 +02:00
meson: rename dbus option to dbus-tests
This does not prevent the building of code that needs dbus, it only prevents building and running tests that need dbus-daemon to be installed.
This commit is contained in:
parent
bfd70aff29
commit
5622805178
3 changed files with 4 additions and 4 deletions
|
|
@ -2,8 +2,6 @@ option('introspection', type : 'feature', value : 'auto',
|
|||
description : 'Generate gobject-introspection bindings')
|
||||
option('doc', type : 'feature', value : 'auto',
|
||||
description: 'Enable documentation.')
|
||||
option('dbus', type : 'boolean', value : 'true',
|
||||
description: 'Enable dbus support')
|
||||
option('system-lua', type : 'boolean', value : 'false',
|
||||
description : 'Use lua from the system instead of the bundled one')
|
||||
option('system-lua-version',
|
||||
|
|
@ -31,3 +29,5 @@ option('glib-supp', type : 'string', value : '',
|
|||
description: 'The glib.supp valgrind suppressions file to be used when running valgrind')
|
||||
option('tests', type : 'boolean', value : 'true',
|
||||
description : 'Build the test suite')
|
||||
option('dbus-tests', type : 'boolean', value : 'true',
|
||||
description: 'Enable running tests that need a dbus-daemon')
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ common_args = [
|
|||
'-DG_LOG_USE_STRUCTURED',
|
||||
]
|
||||
|
||||
if get_option('dbus')
|
||||
if get_option('dbus-tests')
|
||||
test(
|
||||
'test-reserve-device',
|
||||
executable('test-reserve-device', 'reserve-device.c',
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ test(
|
|||
env: common_env,
|
||||
)
|
||||
|
||||
if get_option('dbus')
|
||||
if get_option('dbus-tests')
|
||||
test(
|
||||
'test-dbus',
|
||||
executable('test-dbus', 'dbus.c',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue