fix:告警清理

Signed-off-by: liuwenxin <liuwenxin11@huawei.com>
This commit is contained in:
liuwenxin 2022-11-17 17:00:10 +08:00
parent b59f3d871d
commit 860fa611ee
4 changed files with 6 additions and 1 deletions

View File

@ -31,6 +31,8 @@
#include <securec.h> #include <securec.h>
#include "osTest.h" #include "osTest.h"
#include "pthread.h" #include "pthread.h"
#include "time.h"
#include <unistd.h>
#define TASK_PRIO_TEST LOSCFG_BASE_CORE_TSK_DEFAULT_PRIO #define TASK_PRIO_TEST LOSCFG_BASE_CORE_TSK_DEFAULT_PRIO
#define OS_TSK_TEST_STACK_SIZE 0x1000 #define OS_TSK_TEST_STACK_SIZE 0x1000
@ -688,7 +690,6 @@ static VOID PthreadOnceFunc01(void)
LITE_TEST_CASE(PthreadFuncTestSuite, TestPthread010, Function | MediumTest | Level1) LITE_TEST_CASE(PthreadFuncTestSuite, TestPthread010, Function | MediumTest | Level1)
{ {
pthread_attr_t attr; pthread_attr_t attr;
pthread_t thread[TEST_THREAD_COUNT];
struct sched_param schedParam = { 0 }; struct sched_param schedParam = { 0 };
UINT32 ret; UINT32 ret;
UINT32 i = 0; UINT32 i = 0;

View File

@ -34,6 +34,7 @@
#include "posix_test.h" #include "posix_test.h"
#include "kernel_test.h" #include "kernel_test.h"
#include "log.h" #include "log.h"
#include <ctype.h>
#define RET_TRUE 1 #define RET_TRUE 1
#define RET_FALSE 0 #define RET_FALSE 0

View File

@ -75,6 +75,8 @@
void ItSuitePosix(void); void ItSuitePosix(void);
extern void ItSuitePosixPthread(void);
extern void ItSuitePosixMutex(void);
extern void PosixCtypeFuncTest(void); extern void PosixCtypeFuncTest(void);
extern void PosixIsdigitFuncTest(void); extern void PosixIsdigitFuncTest(void);
extern void PosixIslowerFuncTest(void); extern void PosixIslowerFuncTest(void);

View File

@ -41,6 +41,7 @@
#include "kernel_test.h" #include "kernel_test.h"
#include "log.h" #include "log.h"
#include "los_tick.h" #include "los_tick.h"
#include <unistd.h>
#define RET_OK 0 #define RET_OK 0