Motr  M0
spiel_ut.c File Reference
#include "lib/trace.h"
#include "spiel/spiel.h"
#include "spiel/ut/spiel_ut_common.h"
#include "ut/misc.h"
#include "ut/ut.h"
Include dependency graph for spiel_ut.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_SPIEL
 

Functions

static void spiel_start_stop (void)
 
static int spiel_ut_init ()
 
static int spiel_ut_fini ()
 

Variables

static struct m0_spiel_ut_reqhspl_reqh
 
struct m0_ut_suite spiel_ut
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_SPIEL

Definition at line 23 of file spiel_ut.c.

Function Documentation

◆ spiel_start_stop()

static void spiel_start_stop ( void  )
static

Definition at line 33 of file spiel_ut.c.

Here is the call graph for this function:

◆ spiel_ut_fini()

static int spiel_ut_fini ( )
static

Definition at line 72 of file spiel_ut.c.

Here is the call graph for this function:

◆ spiel_ut_init()

static int spiel_ut_init ( )
static

Definition at line 53 of file spiel_ut.c.

Here is the call graph for this function:

Variable Documentation

◆ spiel_ut

struct m0_ut_suite spiel_ut
Initial value:
= {
.ts_name = "spiel-ut",
.ts_init = spiel_ut_init,
.ts_fini = spiel_ut_fini,
.ts_tests = {
{ "spiel-start-stop", spiel_start_stop },
{ NULL, NULL },
},
}
#define NULL
Definition: misc.h:38
static void spiel_start_stop(void)
Definition: spiel_ut.c:33
static int spiel_ut_init()
Definition: spiel_ut.c:53
static int spiel_ut_fini()
Definition: spiel_ut.c:72

Definition at line 82 of file spiel_ut.c.

◆ spl_reqh

struct m0_spiel_ut_reqh* spl_reqh
static

Definition at line 31 of file spiel_ut.c.