]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
httpdunit: a Check-based unit test suite
authorJacob Champion <jchampion@apache.org>
Thu, 25 May 2017 21:18:32 +0000 (21:18 +0000)
committerJacob Champion <jchampion@apache.org>
Thu, 25 May 2017 21:18:32 +0000 (21:18 +0000)
commitd3289c73ee5f053dc99ccb8546624017e83cca8b
treeb6bd7bc9e87d1f33c41294a8dbdeb255ad52f569
parent1b223229a188d0559b08b2c1fa38bfd0b6b4eed4
httpdunit: a Check-based unit test suite

Add a unit test suite based on Check:

    https://libcheck.github.io/check/

The suite depends on the build system to automatically generate the code
stubs that call every test case.

httpdunit is automatically enabled in the build if configure is able to
find Check via pkg-config. At the moment pkg-config is the only official
(non-deprecated) way to build and link against Check with an autoconf
system, since platforms may distribute Check as a static library.

Note that Check is an LGPL'd library, so we can't distribute test
objects and binaries. Building and running the suite remains optional
and is not required to run the server.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpdunit@1796202 13f79535-47bb-0310-9956-ffa450edef68
Makefile.in
build/httpdunit_gen_cases.pl [new file with mode: 0755]
build/httpdunit_gen_stubs.pl [new file with mode: 0755]
configure.in
test/httpdunit.c [new file with mode: 0644]
test/httpdunit.h [new file with mode: 0644]