function libtest_testsuite_run

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

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