function libtest_testsuite_run

From liblfds.org
Jump to navigation Jump to search

Source Files

└── test_and_benchmark
    └── libtest
        ├── inc
        │   └── libtest
        │       └── libtest_testsuite.h
        └── src
            └── libshared_memory
                └── libtest_testsuite_run.c

Opaque Structures

struct libtest_results_state;
struct libtest_testsuite_state;

Prototype

void libtest_testsuite_run( struct libtest_testsuite_state *ts,
                            struct libtest_results_state *rs );

Parameters

struct libtest_testsuite_state *ts

A pointer to an initialized struct libtest_testsuite_state.

struct libtest_testsuite_state *rs

A pointer to an initialized struct libtest_results_state.

Notes

This function executes all the tests specified in the struct libtest_testsuite_state (which is all of them, as the init function for that structure sets it to be so). The results of the tests (one result code per test) are stored in the struct libtest_results_state *rs, which can then be queried by libtest_results_get_result.

Example

See Also