summaryrefslogtreecommitdiff
path: root/test/httpdunit.c
Commit message (Collapse)AuthorAgeFilesLines
* httpdunit: include .h to avoid code duplication.Yann Ylavic2017-10-031-17/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1810761 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1804123 r1809633.Yann Ylavic2017-10-031-1/+8
| | | | | | | Silence "-Wunknown-pragmas" on GCC... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1810723 13f79535-47bb-0310-9956-ffa450edef68
* On the trunk:Stefan Eissing2017-09-251-0/+8
| | | | | | | | Fix for maintainer-mode compiler errors when including check.h in unit tests. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1809633 13f79535-47bb-0310-9956-ffa450edef68
* httpdunit: fix check.h on WindowsJacob Champion2017-05-251-0/+1
| | | | | | | | Check seems to have trouble with type definitions when using a CMake+Windows toolchain. Include apr.h before check.h to ensure pid_t exists. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpdunit@1796205 13f79535-47bb-0310-9956-ffa450edef68
* httpdunit: a Check-based unit test suiteJacob Champion2017-05-251-0/+53
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