Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Kernel Liteos A
提交
9958f647
K
Kernel Liteos A
项目概览
OpenHarmony
/
Kernel Liteos A
1 年多 前同步成功
通知
460
Star
414
Fork
55
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
4
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel Liteos A
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
4
Issue
4
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
9958f647
编写于
5月 26, 2022
作者:
L
lingxin_2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Signed-off-by: 贺婷婷 <596256905@qq.com>
上级
fa6b2d35
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
10 addition
and
10 deletion
+10
-10
testsuites/kernel/src/osTest.c
testsuites/kernel/src/osTest.c
+1
-1
testsuites/unittest/extended/signal/full/signal_test_029.cpp
testsuites/unittest/extended/signal/full/signal_test_029.cpp
+2
-2
testsuites/unittest/extended/signal/full/signal_test_030.cpp
testsuites/unittest/extended/signal/full/signal_test_030.cpp
+2
-2
testsuites/unittest/extended/signal/full/signal_test_033.cpp
testsuites/unittest/extended/signal/full/signal_test_033.cpp
+2
-2
testsuites/unittest/extended/signal/full/signal_test_040.cpp
testsuites/unittest/extended/signal/full/signal_test_040.cpp
+1
-1
testsuites/unittest/extended/signal/smoke/signal_test_032.cpp
...suites/unittest/extended/signal/smoke/signal_test_032.cpp
+2
-2
未找到文件。
testsuites/kernel/src/osTest.c
浏览文件 @
9958f647
...
...
@@ -454,7 +454,7 @@ VOID TestTaskEntry(VOID)
#if (TEST_MODULE_CHECK == 1)
for
(
int
i
=
0
;
i
<
g_modelNum
-
1
;
i
++
)
{
if
(
g_executModelNum
[
i
]
!=
0
)
{
dprintf
(
"
\n
Executed Model: %s, Executed Model_Num: %d ,failed_count: %d , sucess_count :%d"
,
dprintf
(
"
\n
Executed Model: %s, Executed Model_Num: %d ,failed_count: %d , suc
c
ess_count :%d"
,
g_strModule
[
i
],
g_executModelNum
[
i
],
g_failModelResult
[
i
],
g_passModelResult
[
i
]);
}
for
(
int
j
=
0
;
j
<
g_failResult
&&
j
<
50
;
j
++
)
{
// 50
...
...
testsuites/unittest/extended/signal/full/signal_test_029.cpp
浏览文件 @
9958f647
...
...
@@ -35,7 +35,7 @@ static int g_sigCount = 0;
static
void
SigPrint
(
int
signum
)
{
g_sigCount
++
;
printf
(
"signal receive sucess
\n
"
);
printf
(
"signal receive suc
c
ess
\n
"
);
}
static
UINT32
TestCase
(
VOID
)
...
...
@@ -101,7 +101,7 @@ static UINT32 TestCase(VOID)
sleep
(
1
);
ret
=
kill
(
pid
,
SIGUSR1
);
ICUNIT_ASSERT_EQUAL
(
ret
,
0
,
ret
);
printf
(
"kill sucess
\n
"
);
printf
(
"kill suc
c
ess
\n
"
);
ret
=
waitpid
(
pid
,
&
status
,
0
);
ICUNIT_ASSERT_EQUAL
(
ret
,
pid
,
ret
);
ICUNIT_ASSERT_EQUAL
(
WEXITSTATUS
(
status
),
LOS_OK
,
WEXITSTATUS
(
status
));
...
...
testsuites/unittest/extended/signal/full/signal_test_030.cpp
浏览文件 @
9958f647
...
...
@@ -35,7 +35,7 @@ static int g_sigCount = 0;
static
void
SigPrint
(
int
sig
)
{
g_sigCount
++
;
printf
(
"signal receive sucess
\n
"
);
printf
(
"signal receive suc
c
ess
\n
"
);
}
static
UINT32
TestCase
(
VOID
)
...
...
@@ -68,7 +68,7 @@ static UINT32 TestCase(VOID)
sleep
(
1
);
ret
=
kill
(
pid
,
SIGUSR1
);
ICUNIT_ASSERT_EQUAL
(
ret
,
0
,
ret
);
printf
(
"kill sucess
\n
"
);
printf
(
"kill suc
c
ess
\n
"
);
wait
(
&
ret
);
ICUNIT_ASSERT_EQUAL
(
WEXITSTATUS
(
ret
),
LOS_OK
,
WEXITSTATUS
(
ret
));
return
LOS_OK
;
...
...
testsuites/unittest/extended/signal/full/signal_test_033.cpp
浏览文件 @
9958f647
...
...
@@ -36,13 +36,13 @@ static int g_sigCount1 = 0;
static
void
SigPrint
(
int
sig
)
{
g_sigCount
++
;
printf
(
"signal receive sucess
\n
"
);
printf
(
"signal receive suc
c
ess
\n
"
);
}
static
void
SigPrint1
(
int
sig
)
{
g_sigCount1
++
;
printf
(
"signal receive sucess
\n
"
);
printf
(
"signal receive suc
c
ess
\n
"
);
}
static
UINT32
TestCase
(
VOID
)
...
...
testsuites/unittest/extended/signal/full/signal_test_040.cpp
浏览文件 @
9958f647
...
...
@@ -37,7 +37,7 @@ static void SigPrint(int sig)
{
(
void
)
sig
;
g_sigCount
++
;
printf
(
"signal receive suc
ess
\
n
"
);
printf
(
"signal receive suc
cess\c
n"
);
}
static
UINT32
TestCase
(
VOID
)
...
...
testsuites/unittest/extended/signal/smoke/signal_test_032.cpp
浏览文件 @
9958f647
...
...
@@ -34,9 +34,9 @@
static
int
g_sigCount
=
0
;
static
void
SigPrint
(
int
sig
)
{
(
void
)
sig
;
(
void
)
sig
;
c
g_sigCount
++
;
printf
(
"signal receive sucess
\n
"
);
printf
(
"signal receive suc
c
ess
\n
"
);
}
static
UINT32
TestCase
(
VOID
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录