fix:告警清理

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

View File

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

View File

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

View File

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

View File

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