Blame support/README

Packit Service 82fcde
This subdirectory contains infrastructure which is not put into
Packit Service 82fcde
installed libraries, but may be linked into programs (installed or
Packit Service 82fcde
not) and tests.
Packit Service 82fcde
Packit Service 82fcde
# Error-checking wrappers
Packit Service 82fcde
Packit Service 82fcde
These wrappers test for error return codes an terminate the process on
Packit Service 82fcde
error.  They are declared in these header files:
Packit Service 82fcde
Packit Service 82fcde
* support.h
Packit Service 82fcde
* xsignal.h
Packit Service 82fcde
* xthread.h
Packit Service 82fcde
Packit Service 82fcde
In general, new wrappers should be added to support.h if possible.
Packit Service 82fcde
However, support.h must remain fully compatible with C90 and therefore
Packit Service 82fcde
cannot include headers which use identifers not reserved in C90.  If
Packit Service 82fcde
the wrappers need additional types, additional headers such as
Packit Service 82fcde
signal.h need to be introduced.
Packit Service 82fcde
Packit Service 82fcde
# Test framework
Packit Service 82fcde
Packit Service 82fcde
The test framework provides a main program for tests, including a
Packit Service 82fcde
timeout for hanging tests.  See README-testing.c for a minimal
Packit Service 82fcde
example, and test-driver.c for details how to use it.  The following
Packit Service 82fcde
header files provide related declarations:
Packit Service 82fcde
Packit Service 82fcde
* check.h
Packit Service 82fcde
* temp_file.h
Packit Service 82fcde
* test-driver.h