function libtest_results_init

From liblfds.org
Jump to navigation Jump to search

Source Files

└── test_and_benchmark
    └── libtest
        ├── inc
        │   └── libtest
        │       └── libtest_results.h
        └── src
            └── libshared_results
                └── libtest_results_init.c

Opaque Structures

struct libtest_results_state;

Prototype

void libtest_results_init( struct libtest_results_state *rs );

Parameters

struct libtest_results_state *rs

A pointer to a user-allocated struct libtest_results_state.

Notes

A struct libtest_results_state stores the results of a single call to libtest_testsuite_run. If multiple test runs are performed, each must have its own state, or an existing state must be passed to libtest_results_cleanup and then to libtest_results_init, so it can be re-used.

Example

See Also