chiark / gitweb /
build-sys: do not run coverage if build failed
[elogind.git] / Makefile.am
index 2bd66d528bd169081e11a082780005ea9d3811fc..37a164e562c28be7b388cbca812b401b853fde63 100644 (file)
@@ -1246,7 +1246,9 @@ tests += \
        test-socket-util \
        test-fdset \
        test-conf-files \
-       test-capability
+       test-capability \
+       test-async \
+       test-ratelimit
 
 EXTRA_DIST += \
        test/sched_idle_bad.service \
@@ -1357,12 +1359,24 @@ 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
 
@@ -1621,7 +1635,7 @@ test_conf_files_LDADD = \
 .PHONY: coverage lcov-run lcov-report coverage-sync
 
 # run lcov from scratch, always
-coverage:
+coverage: all
        $(MAKE) lcov-run
        $(MAKE) lcov-report
 
@@ -3787,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