Building Guide (testing)

From liblfds.org
Revision as of 11:05, 26 May 2016 by Admin (talk | contribs) (→‎Introducton)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introducton

Each data structure is provided with a range of tests. These tests are implemented in a library, libtest, which offers a small and simple API, so it can be used on arbitrary platforms. The libtest library depends on liblfds itself and also on a third library, libshared. Finally, a convenience thin command line veneer, test, is provided, which is used from the command line to run the test suite and see the results.

It is intended that libtest and libshared will target bare C89 implementations. This is not yet the case. The libtest library still requires a hosted implementation, as it calls time, and libshared where it provides an abstraction for starting and waiting for threads, depends on threads.

Building guides exist for all these components.

See Also