mirror of
https://github.com/openharmony/drivers_framework.git
synced 2026-08-27 02:42:28 -04:00
@@ -18,7 +18,6 @@
|
||||
|
||||
using namespace testing::ext;
|
||||
|
||||
static int g_uartFd;
|
||||
static const string HDF_TEST_NAME = "/dev/hdf_test";
|
||||
|
||||
enum HdfLiteUartTestCmd {
|
||||
|
||||
@@ -19,8 +19,11 @@
|
||||
|
||||
using namespace testing::ext;
|
||||
|
||||
#ifndef __LITEOS__
|
||||
static const char *OSAL_FW_PATH = "/lib/firmware";
|
||||
static const int OSAL_FW_PATH_MODE = 0x777;
|
||||
#endif
|
||||
|
||||
#define OSAL_TEST_FUNC_DEFINE(subCmd) do { \
|
||||
struct HdfTestMsg msg = { TEST_OSAL_ITEM, subCmd, -1 }; \
|
||||
printf("OSAL test enter cmd:%d\n\r", subCmd); \
|
||||
|
||||
Reference in New Issue
Block a user