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:
Pavel Hrdina 2020-06-23 15:58:33 +02:00
parent dc6a76f32e
commit 4d0e327b70
2 changed files with 8 additions and 6 deletions

View File

@ -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)

View File

@ -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,
)