Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Close stale issues and PRs / stale (push) Successful in 13s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
667 B
667 B
Testing libdispatch
Running tests
A C-based test suite can be found in the tests subdirectory. It uses the automake testing harness to execute the tests.
A default set of tests that are always expected to pass can be executed by doing
make check
An extended test suite that includes some tests that may fail occasionally can be enabled at configure time:
./configure --enable-extended-test-suite
make check
Additional prerequisites
A few test cases require additional packages to be installed. In particular, several IO tests assume /usr/bin/vi is available as an input file and will fail if it is not present.