Fix:m核告警清理

Signed-off-by: liuwenxin <liuwenxin11@huawei.com>
This commit is contained in:
liuwenxin 2022-11-10 14:55:29 +08:00
parent 8b54493665
commit 2806c4af75
13 changed files with 13 additions and 14 deletions

View File

@ -111,7 +111,6 @@ static UINT32 Testcase(VOID)
EXIT1: EXIT1:
LOS_TaskDelete(g_testTaskID02); LOS_TaskDelete(g_testTaskID02);
EXIT:
LOS_TaskDelete(g_testTaskID01); LOS_TaskDelete(g_testTaskID01);
return LOS_OK; return LOS_OK;

View File

@ -106,7 +106,6 @@ static UINT32 Testcase(VOID)
EXIT1: EXIT1:
LOS_TaskDelete(g_testTaskID02); LOS_TaskDelete(g_testTaskID02);
EXIT:
LOS_TaskDelete(g_testTaskID01); LOS_TaskDelete(g_testTaskID01);
return LOS_OK; return LOS_OK;

View File

@ -37,7 +37,7 @@ static VOID TaskF01(VOID)
{ {
} }
VOID ItHwiM3B001F001() static VOID ItHwiM3B001F001(VOID)
{ {
return; return;
} }

View File

@ -69,7 +69,7 @@ static UINT32 g_uwsTick2;
static UINT32 g_uwsTick3; static UINT32 g_uwsTick3;
extern VOID LOS_GetCpuTick(UINT32 *puwCntHi, UINT32 *puwCntLo); extern VOID LOS_GetCpuTick(UINT32 *puwCntHi, UINT32 *puwCntLo);
extern VOID ItSuiteLosSwtmr(); extern VOID ItSuiteLosSwtmr(VOID);
extern VOID ItLosSwtmr001(VOID); extern VOID ItLosSwtmr001(VOID);
extern VOID ItLosSwtmr002(VOID); extern VOID ItLosSwtmr002(VOID);
extern VOID ItLosSwtmr003(VOID); extern VOID ItLosSwtmr003(VOID);

View File

@ -39,7 +39,7 @@ static VOID Case1(UINT32 arg)
g_testCount++; g_testCount++;
} }
static VOID Case2() static VOID Case2(VOID)
{ {
g_testCount++; g_testCount++;
} }

View File

@ -44,12 +44,12 @@ static VOID Case1(UINT32 arg)
g_testCount++; g_testCount++;
} }
static VOID Case2() static VOID Case2(VOID)
{ {
g_testCount++; g_testCount++;
} }
static VOID Case3() static VOID Case3(VOID)
{ {
g_testCount++; g_testCount++;
} }

View File

@ -34,7 +34,7 @@
static UINT32 g_testCount1 = 0; static UINT32 g_testCount1 = 0;
static VOID Case1() static VOID Case1(VOID)
{ {
UINT32 ret; UINT32 ret;

View File

@ -35,7 +35,7 @@
static UINT32 g_testCount1 = 0; static UINT32 g_testCount1 = 0;
static VOID Case1() static VOID Case1(VOID)
{ {
UINT32 ret; UINT32 ret;

View File

@ -44,7 +44,7 @@ static VOID Case1(UINT32 arg)
return; return;
} }
static VOID Case2() static VOID Case2(VOID)
{ {
UINT32 ret; UINT32 ret;
UINT32 tick; UINT32 tick;

View File

@ -32,9 +32,6 @@
#include "osTest.h" #include "osTest.h"
#include "It_los_task.h" #include "It_los_task.h"
static UINT32 g_freeMem1 = 0;
static UINT32 g_freeMem2 = 0;
static UINT32 GetfreeMemSize(void *pool) static UINT32 GetfreeMemSize(void *pool)
{ {
return LOS_MemPoolSizeGet(pool) - LOS_MemTotalUsedGet(pool); return LOS_MemPoolSizeGet(pool) - LOS_MemTotalUsedGet(pool);

View File

@ -43,7 +43,7 @@ pthread_t TestPthreadSelf(void)
return tid; return tid;
} }
VOID ItSuitePosixPthread() void ItSuitePosixPthread(void)
{ {
printf("************** begin SAMPLE POSIX pthread test *************\n"); printf("************** begin SAMPLE POSIX pthread test *************\n");
ItPosixPthread001(); ItPosixPthread001();

View File

@ -33,6 +33,8 @@
#include "los_config.h" #include "los_config.h"
#include "kernel_test.h" #include "kernel_test.h"
#include "log.h" #include "log.h"
#include <string.h>
#include <stdlib.h>
#define RET_OK 0 #define RET_OK 0

View File

@ -34,6 +34,8 @@
#include "los_config.h" #include "los_config.h"
#include "kernel_test.h" #include "kernel_test.h"
#include "log.h" #include "log.h"
#include <string.h>
#include <stdlib.h>
#define EQUAL 0 #define EQUAL 0