usage is as below:
TC_CMD_DEFINE(test_func_1)
TC_CMD_DEFINE(test_func_2)
static const struct shell_cmd commands[] = {
TC_CMD_ITEM(test_func_1),
TC_CMD_ITEM(test_func_2),
{ NULL, NULL }
};
SHELL_REGISTER("runtest", commands);
Change-Id: I4eab67113954f373d5a2cbfaa729be180fd31444
Signed-off-by: jing wang <jing.j.wang@intel.com>
|
||
|---|---|---|
| .. | ||
| bluetooth | ||
| booting/stub | ||
| compliance | ||
| crypto | ||
| drivers | ||
| fs/fat_fs | ||
| include | ||
| kernel | ||
| legacy | ||
| net | ||
| power/power_states | ||
| unit | ||
| ztest | ||
| defaults.tc | ||
| Kconfig | ||
| Makefile | ||
| Makefile.test | ||