Files
xorg_lib_libxfont/test/utils/README
Alan Coopersmith c4ed2e069d Add some unit testing utilities
The test/utils directory contains some standalone test programs for testing
libXfont funtionality without needing a full X server session.  They could
be used to generate automated unit testing in the future, but that work has
not yet been done.

[v2: updated original work from libXfont 1.5 to 2.0 API & makefiles]

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-08-03 13:54:35 -07:00

19 lines
734 B
Plaintext

This directory contains utilities which can be used for adhoc testing of
libXfont by developers, and which are hoped to be useful for building up
automated testing in the future.
They are not intended for distros to package and ship to end users - they
are not documented, and are full of assert() and fatal err() calls where
end user software would have error handling.
No promises of interface stability are made for these - they may change at
any time to allow better testing.
Utilities include:
lsfontdir:
Reads & prints the contents of fonts.dir files.
Takes a list of font path entries on the command line, uses defaults
if none specified.
For use with afl fuzzer, you must use afl -f fonts.dir lsfontdir @@