!917 告警清理

Merge pull request !917 from 乔克叔叔/master
This commit is contained in:
openharmony_ci 2022-11-18 09:15:46 +00:00 committed by Gitee
commit 765add9660
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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