meson: Add missing "nm-bt-test" helper program

In 878d4963e a new `nm-bt-test` helper program was added. However,
although `autotools` build steps were included, meson build steps
were not.

This add meson's build steps.
This commit is contained in:
Iñigo Martínez 2019-09-24 12:56:09 +02:00 committed by Thomas Haller
parent 95abecb24d
commit 05c7a77022
3 changed files with 13 additions and 1 deletions

View File

@ -3486,7 +3486,9 @@ check_local += check-local-devices-bluetooth
endif
EXTRA_DIST += \
src/devices/bluetooth/meson.build
src/devices/bluetooth/meson.build \
src/devices/bluetooth/tests/meson.build \
$(NULL)
###############################################################################
# src/devices/wifi

View File

@ -34,3 +34,5 @@ test(
check_exports,
args: [libnm_device_plugin_bluetooth.full_path(), linker_script_devices],
)
subdir('tests')

View File

@ -0,0 +1,8 @@
test_unit = 'nm-bt-test'
executable(
test_unit,
test_unit + '.c',
dependencies: libnetwork_manager_test_dep,
c_args: test_c_flags,
)