Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Latest commit

 

History

History
28 lines (22 loc) · 815 Bytes

section_3.md

File metadata and controls

28 lines (22 loc) · 815 Bytes

Testing

The make check command

Run make check. This will compile and execute the unit tests. If everything is OK, you should see something like this:

============================================================================
Testsuite summary for syslog-ng 3.8.0alpha0
============================================================================
# TOTAL: 82
# PASS:  82
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================

If something goes wrong, check the logs of the tests (test-suite.log). You can debug the failing unit test with a debugger.

The make distcheck command

The make distcheck command is very similar to make check, but it also ensures that the distribution tarball can be properly used.