fusion/mw/unittest/mw_unittest.h

34 lines
716 B
C
Raw Permalink Normal View History

2025-08-05 07:53:44 +00:00
#ifndef __MW_UNITTES_H__
#define __MW_UNITTES_H__
#include <stdint.h>
#include "hal.h"
//int32_t unittest_register(AMBA_SHELL_COMMAND_s *pNewCmd);
/* unittest_shell_entry
**
** shell回调中
*/
int32_t unittest_shell_entry(int32_t argc, char **argv);
/* unittest_file_entry
**
*/
int32_t unittest_file_entry(uint8_t file_cnt, char *file_list[]);
/* unittest_get
** project的unittest_list实现
*/
int32_t unittest_get(unittest_cmd **cmds);
//{
// *cmds = unittest_list;
// return sizeof(unittest_list)/sizeof(unittest_cmd);
//}
void unittest(uint32_t argc, char **argv);
int32_t unittest_test();
#endif /* __MW_UNITTES_H__ */