mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-08 22:15:21 +00:00
meson: src/access: add check-aclperms test
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
dc6a76f32e
commit
4d0e327b70
@ -87,13 +87,8 @@ else !WITH_REMOTE
|
||||
check-protocol:
|
||||
endif !WITH_REMOTE
|
||||
|
||||
check-aclperms:
|
||||
$(AM_V_GEN)$(RUNUTF8) $(PYTHON) $(top_srcdir)/scripts/check-aclperms.py \
|
||||
$(srcdir)/access/viraccessperm.h \
|
||||
$(srcdir)/access/viraccessperm.c
|
||||
|
||||
check-local: check-protocol \
|
||||
check-aclperms check-admin
|
||||
check-admin
|
||||
.PHONY: check-protocol $(PROTOCOL_STRUCTS:structs=struct)
|
||||
|
||||
|
||||
|
@ -112,3 +112,10 @@ access_dep = declare_dependency(
|
||||
)
|
||||
|
||||
generated_sym_files += access_gen_sym
|
||||
|
||||
test(
|
||||
'check-aclperms',
|
||||
python3_prog,
|
||||
args: [ check_aclperms_prog.path(), access_perm_h, files('viraccessperm.c') ],
|
||||
env: runutf8,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user