44 switch (module->
m_cur + 1) {
68 .
ml_name =
"M0_LEVEL_UT_PREPARE",
73 .ml_name =
"M0_LEVEL_UT_KLUDGE",
78 .ml_name =
"M0_LEVEL_UT_READY" 84 .
ml_name =
"M0_LEVEL_UT_SUITE_READY" 98 " don't know the address of a module"
static struct m0_ut_module * ut_module(void)
static struct m0_addb2_mach * m
static struct m0_module * ut_module_create(struct m0 *instance)
int m0_cs_default_stypes_init(void)
struct m0_module ut_module
static void level_ut_leave(struct m0_module *module)
int m0_ut_sandbox_init(const char *dir)
#define M0_AMB(obj, ptr, field)
M0_INTERNAL void m0_module_setup(struct m0_module *module, const char *name, const struct m0_modlev *level, int level_nr, struct m0 *instance)
const struct m0_ut_moddep * ts_deps
static const struct m0_modlev levels_ut_suite[]
static const struct m0_modlev levels_ut[]
struct m0_module * ud_module
const struct m0_module_type m0_ut_module_type
M0_INTERNAL void m0_module_dep_add(struct m0_module *m0, int l0, struct m0_module *m1, int l1)
void m0_ut_sandbox_fini(const char *dir, bool keep)
void * i_moddata[M0_MODULE_NR]
static struct m0 instance
static int level_ut_enter(struct m0_module *module)
M0_INTERNAL void m0_ut_suite_module_setup(struct m0_ut_suite *ts, struct m0 *instance)
struct m0_module ts_module
static void m0_atomic64_set(struct m0_atomic64 *a, int64_t num)
void m0_cs_default_stypes_fini(void)
#define M0_IMPOSSIBLE(fmt,...)