Motr  M0
m0_ut_module Struct Reference

#include <module.h>

Collaboration diagram for m0_ut_module:
Collaboration graph

Data Fields

struct m0_module ut_module
 
const char * ut_tests
 
bool ut_exclude
 
const char * ut_sandbox
 
bool ut_keep_sandbox
 
bool ut_small_credits
 
struct m0_ut_suiteut_suites [M0_UT_SUITES_MAX]
 
unsigned ut_suites_nr
 
struct m0_atomic64 ut_asserts
 

Detailed Description

Definition at line 42 of file module.h.

Field Documentation

◆ ut_asserts

struct m0_atomic64 ut_asserts

Definition at line 63 of file module.h.

◆ ut_exclude

bool ut_exclude

Whether ->ut_tests should be excluded from testing.

Precondition
ergo(m->ut_exclude, m->ut_tests != NULL)

Definition at line 55 of file module.h.

◆ ut_keep_sandbox

bool ut_keep_sandbox

Whether to keep sandbox directory after UT execution.

Definition at line 59 of file module.h.

◆ ut_module

struct m0_module ut_module

Definition at line 43 of file module.h.

◆ ut_sandbox

const char* ut_sandbox

Name of UT sandbox directory.

Definition at line 57 of file module.h.

◆ ut_small_credits

bool ut_small_credits

Definition at line 60 of file module.h.

◆ ut_suites

struct m0_ut_suite* ut_suites[M0_UT_SUITES_MAX]

Definition at line 61 of file module.h.

◆ ut_suites_nr

unsigned ut_suites_nr

Definition at line 62 of file module.h.

◆ ut_tests

const char* ut_tests

Specifies the list of tests to run (ut_exclude is false) or to be excluded from testing (ut_exclude is true).

Format: suite[:test][,suite[:test]]

Definition at line 50 of file module.h.


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