mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
build-sys: do not run symbol list export test for compat-only libs
The verbose link-time deprecation warnings are annoying. These libs will never change or be extended; there is no need to test the list of exported symbols.
This commit is contained in:
parent
ffcf82d250
commit
2f14583f47
54
Makefile.am
54
Makefile.am
@ -5324,60 +5324,6 @@ tests += \
|
|||||||
test-libsystemd-sym \
|
test-libsystemd-sym \
|
||||||
test-libudev-sym
|
test-libudev-sym
|
||||||
|
|
||||||
if ENABLE_COMPAT_LIBS
|
|
||||||
test-libsystemd-daemon-sym.c: \
|
|
||||||
src/compat-libs/libsystemd-daemon.sym \
|
|
||||||
src/systemd/sd-daemon.h
|
|
||||||
$(generate-sym-test)
|
|
||||||
|
|
||||||
test-libsystemd-id128-sym.c: \
|
|
||||||
src/compat-libs/libsystemd-id128.sym \
|
|
||||||
src/systemd/sd-id128.h
|
|
||||||
$(generate-sym-test)
|
|
||||||
|
|
||||||
test-libsystemd-journal-sym.c: \
|
|
||||||
src/compat-libs/libsystemd-journal.sym \
|
|
||||||
src/systemd/sd-journal.h
|
|
||||||
$(generate-sym-test)
|
|
||||||
|
|
||||||
test-libsystemd-login-sym.c: \
|
|
||||||
src/compat-libs/libsystemd-login.sym \
|
|
||||||
src/systemd/sd-login.h
|
|
||||||
$(generate-sym-test)
|
|
||||||
|
|
||||||
test_libsystemd_daemon_sym_SOURCES = \
|
|
||||||
test-libsystemd-daemon-sym.c
|
|
||||||
test_libsystemd_daemon_sym_LDADD = \
|
|
||||||
libsystemd-daemon.la
|
|
||||||
|
|
||||||
test_libsystemd_id128_sym_SOURCES = \
|
|
||||||
test-libsystemd-id128-sym.c
|
|
||||||
test_libsystemd_id128_sym_LDADD = \
|
|
||||||
libsystemd-id128.la
|
|
||||||
|
|
||||||
test_libsystemd_journal_sym_SOURCES = \
|
|
||||||
test-libsystemd-journal-sym.c
|
|
||||||
test_libsystemd_journal_sym_LDADD = \
|
|
||||||
libsystemd-journal.la
|
|
||||||
|
|
||||||
test_libsystemd_login_sym_SOURCES = \
|
|
||||||
test-libsystemd-login-sym.c
|
|
||||||
test_libsystemd_login_sym_LDADD = \
|
|
||||||
libsystemd-login.la
|
|
||||||
|
|
||||||
BUILT_SOURCES += \
|
|
||||||
$(test_libsystemd_journal_sym_SOURCES) \
|
|
||||||
$(test_libsystemd_login_sym_SOURCES) \
|
|
||||||
$(test_libsystemd_id128_sym_SOURCES) \
|
|
||||||
$(test_libsystemd_daemon_sym_SOURCES)
|
|
||||||
|
|
||||||
tests += \
|
|
||||||
test-libsystemd-journal-sym \
|
|
||||||
test-libsystemd-login-sym \
|
|
||||||
test-libsystemd-id128-sym \
|
|
||||||
test-libsystemd-daemon-sym
|
|
||||||
endif
|
|
||||||
|
|
||||||
.PHONY: cppcheck
|
.PHONY: cppcheck
|
||||||
cppcheck:
|
cppcheck:
|
||||||
cppcheck --enable=all -q $(top_srcdir)
|
cppcheck --enable=all -q $(top_srcdir)
|
||||||
|
Loading…
Reference in New Issue
Block a user