Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Applications Sample Wifi Iot
提交
0e2ec4f4
A
Applications Sample Wifi Iot
项目概览
OpenHarmony
/
Applications Sample Wifi Iot
10 个月 前同步成功
通知
3
Star
24
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
Applications Sample Wifi Iot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
0e2ec4f4
编写于
6月 17, 2022
作者:
O
openharmony_ci
提交者:
Gitee
6月 17, 2022
浏览文件
操作
浏览文件
下载
差异文件
!106 cppcrash崩溃检测去除
Merge pull request !106 from hongshaojie/pr_master
上级
b33bd106
0627016d
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
4 addition
and
10 deletion
+4
-10
screenshot/resource/app_capture_screen_test_config.json
screenshot/resource/app_capture_screen_test_config.json
+2
-2
screenshot/resource/capturescreentest.py
screenshot/resource/capturescreentest.py
+2
-8
未找到文件。
screenshot/resource/app_capture_screen_test_config.json
浏览文件 @
0e2ec4f4
...
...
@@ -101,8 +101,8 @@
"entry"
:
"aa start -a com.ohos.photos.MainAbility -b com.ohos.photos"
,
"compress_log"
:[
"cd /data/log/hilog && tar -cf photos_log.tar *"
],
"all_actions"
:
[
[
2
,
"
shot_cmd"
,
"photo_check_1"
],
[
2
,
"permisson_ok-x-y"
],
[
2
,
"shot_cmd"
,
"photo_check_2"
],
[
2
,
"permisson_ok-x-y"
],
[
2
,
"shot_cmd"
,
"photo_check_3"
],
[
2
,
"permisson_ok-x-y"
],
[
2
,
"shot_cmd"
],
[
2
,
"recent-x-y"
],
[
2
,
"shot_cmd"
,
"photo_check_4"
],
[
2
,
"recent_del-x-y
"
],
[
2
,
"
shot_cmd"
,
"photo_check_5"
],
[
2
,
"
recent-x-y"
],
[
2
,
"recent_del-x-y"
],
[
1
,
"stop_hilog"
],
[
1
,
"compress_log"
],
[
1
,
"get_file_from_dev"
,
"/data/log/hilog/photos_log.tar"
]
[
2
,
"
permisson_ok-x-y"
],
[
2
,
"permisson_ok-x-y"
],
[
2
,
"permisson_ok-x-y"
],
[
2
,
"shot_cmd"
],
[
2
,
"recent-x-y"
],
[
2
,
"recent_del-x-y"
],
[
1
,
"cmp_cmd-level
"
],
[
2
,
"recent-x-y"
],
[
2
,
"recent_del-x-y"
],
[
1
,
"stop_hilog"
],
[
1
,
"compress_log"
],
[
1
,
"get_file_from_dev"
,
"/data/log/hilog/photos_log.tar"
]
]
},
{
...
...
screenshot/resource/capturescreentest.py
浏览文件 @
0e2ec4f4
...
...
@@ -431,14 +431,8 @@ if __name__ == "__main__":
EnterShellCmd
(
"cd /data/log/faultlog/temp && tar -cf after_test_crash_log_{}.tar cppcrash*"
.
format
(
args
.
device_num
))
GetFileFromDev
(
"/data/log/faultlog/temp/after_test_crash_log_{}.tar"
.
format
(
args
.
device_num
),
os
.
path
.
normpath
(
args
.
save_path
))
crash_cnt
=
EnterShellCmd
(
"cd /data/log/faultlog/temp && find . -name cppcrash*"
,
2
)
result
=
""
.
join
(
crash_cnt
)
findsome
=
result
.
find
(
"cppcrash"
,
0
,
len
(
result
))
if
findsome
!=
-
1
:
PrintToLog
(
"ERROR:find cppcrash !
\n
"
)
PrintToLog
(
"SmokeTest find some fatal problems!"
)
PrintToLog
(
"End of check, test failed!"
)
SysExit
()
EnterShellCmd
(
"cd /data/log/faultlog/temp && find . -name cppcrash*"
,
2
)
EnterShellCmd
(
"cd /data/log/faultlog/temp && grep
\"
Process name
\"
-rnw ./"
,
2
)
if
len
(
fail_idx_list
)
!=
0
:
PrintToLog
(
"ERROR: name {}, index {}, these testcase is failed"
.
format
(
fail_name_list
,
fail_idx_list
))
if
fail_name_list
.
count
(
'launcher'
)
or
fail_name_list
.
count
(
'settings_keyboard'
):
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录