function libtest_results_get_results

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_get_result.c

Enums

enum lfds711_misc_validity
enum libtest_test_id

Opaque Structures

struct libtest_results_state;

Prototype

void libtest_results_get_result( struct libtest_results_state *rs,
                                 enum libtest_test_id test_id,
                                 enum lfds711_misc_validity *result );

Parameters

struct libtest_results_state *rs

A pointer to an initialized struct libtest_results_state.

enum libtest_test_id test_id

The test for which to obtain the test result.

enum lfds711_misc_validity *result

A pointer to an enum lfds711_misc_validity, which is set to the result of the test.

Notes

After a call to libtest_testsuite_run, the struct libtest_results_state passed in will be populated with the test results, which consist of an enum lfds711_misc_validity per test. The tests are enumerated in enum libtest_test_id.

Example

See Also