Building Guide (testing)

From liblfds.org
Revision as of 20:16, 17 February 2017 by Admin (talk | contribs) (1 revision imported)
(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