meson: add test-libudev-sym
This is slightly complicated by the fact that files('libudev.h') cannot be used
as an argument in custom_target command (string is required). This restriction
should be lifted in future versions of mesons, so this could be simplified.
This commit is contained in:
@@ -28,6 +28,13 @@ test_libsystemd_sym_c = custom_target(
|
||||
command : [generate_sym_test_py, libsystemd_sym_path] + systemd_headers,
|
||||
capture : true)
|
||||
|
||||
test_libudev_sym_c = custom_target(
|
||||
'test-libudev-sym.c',
|
||||
input : [libudev_sym_path, libudev_h_path],
|
||||
output : 'test-libudev-sym.c',
|
||||
command : [generate_sym_test_py, '@INPUT0@', '@INPUT1@'],
|
||||
capture : true)
|
||||
|
||||
############################################################
|
||||
|
||||
tests += [
|
||||
|
||||
Reference in New Issue
Block a user