FFmpeg
Loading...
Searching...
No Matches
CheckasmTest Struct Reference

Describes a single test function. More...

#include <checkasm.h>

Data Fields

const char * name
 Name of the test (used for filtering and reporting)
 
void(* func )(void)
 Test function to invoke.
 
void(* init )(void)
 Optional initialization function.
 
void(* uninit )(void)
 

Detailed Description

Describes a single test function.

Represents one test function that will be invoked by the test suite. Each test function typically tests a specific component or subsystem.

Definition at line 127 of file checkasm.h.

Field Documentation

◆ name

const char* CheckasmTest::name

Name of the test (used for filtering and reporting)

Definition at line 128 of file checkasm.h.

◆ func

void(* CheckasmTest::func) (void)

Test function to invoke.

Definition at line 129 of file checkasm.h.

◆ init

void(* CheckasmTest::init) (void)

Optional initialization function.

These functions, if set, are invoked before testing any CPU flags and after testing all CPU flags, respectively.

Note
If CheckasmConfig.repeat > 1, they will be called for every iteration.
Warning
These are called even when running checkasm_list_functions().

Definition at line 142 of file checkasm.h.

◆ uninit

void(* CheckasmTest::uninit) (void)

Definition at line 143 of file checkasm.h.


The documentation for this struct was generated from the following file: