Blame support/README

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