Motr  M0
m0ut_main.c File Reference
#include <linux/version.h>
#include <linux/module.h>
#include "lib/thread.h"
#include "ut/ut.h"
#include "module/instance.h"
#include "ut/module.h"
Include dependency graph for m0ut_main.c:

Go to the source code of this file.

Functions

 MODULE_LICENSE ()
 
 module_param (tests, charp, S_IRUGO)
 
 MODULE_PARM_DESC (tests, " list of tests to run in format" " 'suite[:test][,suite[:test]]'")
 
 module_param (exclude, charp, S_IRUGO)
 
 MODULE_PARM_DESC (exclude, " list of tests to exclude in format" " 'suite[:test][,suite[:test]]'")
 
static void tests_add (struct m0_ut_module *m)
 
static void run_kernel_ut (int _)
 
static int __init m0_ut_module_init (void)
 
static void __exit m0_ut_module_fini (void)
 

Variables

static char * tests
 
static char * exclude
 
struct m0_ut_suite m0_klibm0_ut
 
struct m0_ut_suite addb2_base_ut
 
struct m0_ut_suite addb2_consumer_ut
 
struct m0_ut_suite addb2_hist_ut
 
struct m0_ut_suite addb2_sys_ut
 
struct m0_ut_suite be_ut
 
struct m0_ut_suite buffer_pool_ut
 
struct m0_ut_suite bulkio_client_ut
 
struct m0_ut_suite m0_net_bulk_if_ut
 
struct m0_ut_suite m0_net_bulk_mem_ut
 
struct m0_ut_suite m0_net_lnet_ut
 
struct m0_ut_suite m0_net_test_ut
 
struct m0_ut_suite m0_net_tm_prov_ut
 
struct m0_ut_suite conn_ut
 
struct m0_ut_suite dtm_dtx_ut
 
struct m0_ut_suite dtm_nucleus_ut
 
struct m0_ut_suite dtm_transmit_ut
 
struct m0_ut_suite failure_domains_tree_ut
 
struct m0_ut_suite failure_domains_ut
 
struct m0_ut_suite file_io_ut
 
struct m0_ut_suite fom_timedwait_ut
 
struct m0_ut_suite frm_ut
 
struct m0_ut_suite ha_ut
 
struct m0_ut_suite layout_ut
 
struct m0_ut_suite ms_fom_ut
 
struct m0_ut_suite packet_encdec_ut
 
struct m0_ut_suite parity_math_ssse3_ut
 
struct m0_ut_suite reqh_service_ut
 
struct m0_ut_suite rpc_mc_ut
 
struct m0_ut_suite rm_ut
 
struct m0_ut_suite session_ut
 
struct m0_ut_suite sm_ut
 
struct m0_ut_suite stob_ut
 
struct m0_ut_suite xcode_ut
 
struct m0_ut_suite di_ut
 
static struct m0_thread ut_thread
 

Function Documentation

◆ m0_ut_module_fini()

static void __exit m0_ut_module_fini ( void  )
static

Definition at line 171 of file m0ut_main.c.

Here is the call graph for this function:

◆ m0_ut_module_init()

static int __init m0_ut_module_init ( void  )
static

Definition at line 139 of file m0ut_main.c.

Here is the call graph for this function:

◆ MODULE_LICENSE()

MODULE_LICENSE ( )

◆ module_param() [1/2]

module_param ( tests  ,
charp  ,
S_IRUGO   
)

◆ module_param() [2/2]

module_param ( exclude  ,
charp  ,
S_IRUGO   
)

◆ MODULE_PARM_DESC() [1/2]

MODULE_PARM_DESC ( tests  ,
" list of tests to run in format" " 'suite]'"  [:test][, suite[:test] 
)

◆ MODULE_PARM_DESC() [2/2]

MODULE_PARM_DESC ( exclude  ,
" list of tests to exclude in format" " 'suite]'"  [:test][, suite[:test] 
)

◆ run_kernel_ut()

static void run_kernel_ut ( int  _)
static

Definition at line 133 of file m0ut_main.c.

Here is the caller graph for this function:

◆ tests_add()

static void tests_add ( struct m0_ut_module m)
static

Definition at line 88 of file m0ut_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ addb2_base_ut

struct m0_ut_suite addb2_base_ut

Definition at line 431 of file base.c.

◆ addb2_consumer_ut

struct m0_ut_suite addb2_consumer_ut

Definition at line 391 of file consumer.c.

◆ addb2_hist_ut

struct m0_ut_suite addb2_hist_ut

Definition at line 105 of file histogram.c.

◆ be_ut

struct m0_ut_suite be_ut

Definition at line 156 of file main.c.

◆ buffer_pool_ut

struct m0_ut_suite buffer_pool_ut

Definition at line 211 of file buffer_pool_ut.c.

◆ bulkio_client_ut

struct m0_ut_suite bulkio_client_ut

Definition at line 484 of file bulkio_client.c.

◆ conn_ut

struct m0_ut_suite conn_ut

Definition at line 318 of file conn.c.

◆ di_ut

struct m0_ut_suite di_ut

Definition at line 134 of file di.c.

◆ exclude

char* exclude
static

Definition at line 44 of file m0ut_main.c.

◆ failure_domains_tree_ut

struct m0_ut_suite failure_domains_tree_ut

Definition at line 182 of file fd_tree.c.

◆ failure_domains_ut

struct m0_ut_suite failure_domains_ut

Definition at line 541 of file fd.c.

◆ file_io_ut

struct m0_ut_suite file_io_ut

Definition at line 1259 of file file.c.

◆ fom_timedwait_ut

struct m0_ut_suite fom_timedwait_ut

Definition at line 444 of file fom_timedwait_ut.c.

◆ frm_ut

struct m0_ut_suite frm_ut

Definition at line 659 of file formation2.c.

◆ layout_ut

struct m0_ut_suite layout_ut

Definition at line 3763 of file layout.c.

◆ m0_klibm0_ut

struct m0_ut_suite m0_klibm0_ut

Definition at line 57 of file main.c.

◆ m0_net_bulk_if_ut

struct m0_ut_suite m0_net_bulk_if_ut

Definition at line 1229 of file bulk_if.c.

◆ m0_net_bulk_mem_ut

struct m0_ut_suite m0_net_bulk_mem_ut

Definition at line 819 of file bulk_mem_ut.c.

◆ m0_net_lnet_ut

struct m0_ut_suite m0_net_lnet_ut

Definition at line 2231 of file lnet_ut.c.

◆ m0_net_test_ut

struct m0_ut_suite m0_net_test_ut

Definition at line 60 of file main.c.

◆ m0_net_tm_prov_ut

struct m0_ut_suite m0_net_tm_prov_ut

Definition at line 538 of file tm_provision_ut.c.

◆ ms_fom_ut

struct m0_ut_suite ms_fom_ut

Definition at line 402 of file ms_fom_ut.c.

◆ packet_encdec_ut

struct m0_ut_suite packet_encdec_ut

Definition at line 259 of file packet.c.

◆ parity_math_ssse3_ut

struct m0_ut_suite parity_math_ssse3_ut

Definition at line 1424 of file parity_math_ut.c.

◆ reqh_service_ut

struct m0_ut_suite reqh_service_ut

Definition at line 117 of file service.c.

◆ rm_ut

struct m0_ut_suite rm_ut

Definition at line 458 of file rmut.c.

◆ rpc_mc_ut

struct m0_ut_suite rpc_mc_ut

Definition at line 222 of file rpc_machine.c.

◆ session_ut

struct m0_ut_suite session_ut

Definition at line 322 of file session.c.

◆ sm_ut

struct m0_ut_suite sm_ut

Definition at line 643 of file sm.c.

◆ stob_ut

struct m0_ut_suite stob_ut

Definition at line 47 of file main.c.

◆ tests

char* tests
static

Definition at line 39 of file m0ut_main.c.

◆ ut_thread

struct m0_thread ut_thread
static

Definition at line 86 of file m0ut_main.c.

◆ xcode_ut

struct m0_ut_suite xcode_ut

Definition at line 1273 of file xcode.c.