mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
meson: src: add check-symsorting
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
f0c30589f2
commit
00b914a502
@ -23,8 +23,6 @@
|
|||||||
BUILT_SOURCES =
|
BUILT_SOURCES =
|
||||||
DRIVER_SOURCE_FILES =
|
DRIVER_SOURCE_FILES =
|
||||||
STATEFUL_DRIVER_SOURCE_FILES =
|
STATEFUL_DRIVER_SOURCE_FILES =
|
||||||
SYM_FILES =
|
|
||||||
USED_SYM_FILES =
|
|
||||||
augeas_DATA =
|
augeas_DATA =
|
||||||
augeastest_DATA =
|
augeastest_DATA =
|
||||||
if WITH_DTRACE_PROBES
|
if WITH_DTRACE_PROBES
|
||||||
@ -48,10 +46,6 @@ include secret/Makefile.inc.am
|
|||||||
include storage/Makefile.inc.am
|
include storage/Makefile.inc.am
|
||||||
|
|
||||||
|
|
||||||
check-symsorting:
|
|
||||||
$(AM_V_GEN)$(RUNUTF8) $(PYTHON) $(top_srcdir)/scripts/check-symsorting.py \
|
|
||||||
$(srcdir) $(SYM_FILES)
|
|
||||||
|
|
||||||
# Keep this list synced with RPC_PROBE_FILES
|
# Keep this list synced with RPC_PROBE_FILES
|
||||||
PROTOCOL_STRUCTS = \
|
PROTOCOL_STRUCTS = \
|
||||||
$(srcdir)/remote_protocol-structs \
|
$(srcdir)/remote_protocol-structs \
|
||||||
@ -139,17 +133,12 @@ check-aclperms:
|
|||||||
$(srcdir)/access/viraccessperm.h \
|
$(srcdir)/access/viraccessperm.h \
|
||||||
$(srcdir)/access/viraccessperm.c
|
$(srcdir)/access/viraccessperm.c
|
||||||
|
|
||||||
check-local: check-protocol check-symsorting \
|
check-local: check-protocol \
|
||||||
check-drivername check-driverimpls check-aclrules \
|
check-drivername check-driverimpls check-aclrules \
|
||||||
check-aclperms check-admin
|
check-aclperms check-admin
|
||||||
.PHONY: check-protocol $(PROTOCOL_STRUCTS:structs=struct)
|
.PHONY: check-protocol $(PROTOCOL_STRUCTS:structs=struct)
|
||||||
|
|
||||||
|
|
||||||
# All .syms files should be placed in exactly one of these three lists,
|
|
||||||
# depending on whether they are stored in git and/or used in the build.
|
|
||||||
SYM_FILES += $(USED_SYM_FILES)
|
|
||||||
|
|
||||||
|
|
||||||
check-local: check-augeas
|
check-local: check-augeas
|
||||||
|
|
||||||
check-augeas: $(augeas_DATA) $(augeastest_DATA)
|
check-augeas: $(augeas_DATA) $(augeastest_DATA)
|
||||||
|
@ -831,3 +831,14 @@ if host_machine.system() == 'linux'
|
|||||||
env: runutf8,
|
env: runutf8,
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
test(
|
||||||
|
'check-symsorting',
|
||||||
|
python3_prog,
|
||||||
|
args: [
|
||||||
|
check_symsorting_prog.path(),
|
||||||
|
meson.current_source_dir(),
|
||||||
|
files(sym_files, used_sym_files),
|
||||||
|
],
|
||||||
|
env: runutf8,
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user