1
0
mirror of https://github.com/falk-werner/webfused synced 2026-03-02 04:09:19 +00:00

added basic tests for daemon

This commit is contained in:
Falk Werner
2020-03-18 18:00:53 +01:00
parent adbfd45951
commit 1cd1b1ddff
3 changed files with 72 additions and 0 deletions

View File

@@ -129,6 +129,7 @@ add_executable(alltests
test/test_log_manager.cc
test/test_stderr_logger.cc
test/test_syslog_logger.cc
test/test_daemon.cc
)
target_include_directories(alltests PRIVATE
@@ -180,6 +181,7 @@ add_custom_target(coverage
COMMAND lcov -a coverage/lcov_base.info -a coverage/lcov.info --output-file coverage/lcov.info --rc lcov_branch_coverage=1
COMMAND lcov --remove coverage/lcov.info '/usr/*' --output-file coverage/lcov.info --rc lcov_branch_coverage=1
COMMAND lcov --remove coverage/lcov.info '*/test/*' --output-file coverage/lcov.info --rc lcov_branch_coverage=1
COMMAND lcov --remove coverage/lcov.info '*/main.c' --output-file coverage/lcov.info --rc lcov_branch_coverage=1
)
add_dependencies(coverage alltests)