chiark / gitweb /
tests: add test-ratelimit
[elogind.git] / Makefile.am
index c7653ea23c212942503b603fcfbed0f309298aee..0e4edf771bac3132f1e62a2aa58d8e86ed6ee5f2 100644 (file)
@@ -837,7 +837,8 @@ nodist_libsystemd_shared_la_SOURCES = \
 
 libsystemd_shared_la_CFLAGS = \
        $(AM_CFLAGS) \
-       $(SECCOMP_CFLAGS)
+       $(SECCOMP_CFLAGS) \
+       -pthread
 
 # ------------------------------------------------------------------------------
 noinst_LTLIBRARIES += \
@@ -1244,7 +1245,10 @@ tests += \
        test-architecture \
        test-socket-util \
        test-fdset \
-       test-conf-files
+       test-conf-files \
+       test-capability \
+       test-async \
+       test-ratelimit
 
 EXTRA_DIST += \
        test/sched_idle_bad.service \
@@ -1348,12 +1352,31 @@ test_utf8_SOURCES = \
 test_utf8_LDADD = \
        libsystemd-shared.la
 
+test_capability_SOURCES = \
+       src/test/test-capability.c
+
+test_capability_LDADD = \
+       libsystemd-shared.la \
+       libsystemd-capability.la
+
+test_async_SOURCES = \
+       src/test/test-async.c
+
+test_async_LDADD = \
+       libsystemd-shared.la
+
 test_fdset_SOURCES = \
        src/test/test-fdset.c
 
 test_fdset_LDADD = \
        libsystemd-core.la
 
+test_ratelimit_SOURCES = \
+       src/test/test-ratelimit.c
+
+test_ratelimit_LDADD = \
+       libsystemd-shared.la
+
 test_util_SOURCES = \
        src/test/test-util.c
 
@@ -3778,6 +3801,9 @@ dist_bashcompletion_DATA += \
 dist_zshcompletion_DATA += \
        shell-completion/zsh/_coredumpctl
 
+GENERAL_ALIASES += \
+       $(bindir)/coredumpctl $(bindir)/systemd-coredumpctl
+
 sysctl_DATA = \
        sysctl.d/50-coredump.conf