Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Test Developertest
提交
0c875cc0
T
Test Developertest
项目概览
OpenHarmony
/
Test Developertest
大约 1 年 前同步成功
通知
2
Star
23
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Test Developertest
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
0c875cc0
编写于
7月 19, 2022
作者:
O
openharmony_ci
提交者:
Gitee
7月 19, 2022
浏览文件
操作
浏览文件
下载
差异文件
!149 黄区告警清理-Beta-3.2分支
Merge pull request !149 from mipengwei/OpenHarmony-3.2-Beta2
上级
dc43d4ab
3ae53b73
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
9 addition
and
9 deletion
+9
-9
aw/python/distributed/common/devices.py
aw/python/distributed/common/devices.py
+1
-1
aw/python/distributed/common/drivers.py
aw/python/distributed/common/drivers.py
+1
-1
aw/python/distributed/distribute/distribute.py
aw/python/distributed/distribute/distribute.py
+3
-3
src/core/command/display.py
src/core/command/display.py
+1
-1
src/core/driver/drivers.py
src/core/driver/drivers.py
+3
-3
未找到文件。
aw/python/distributed/common/devices.py
浏览文件 @
0c875cc0
...
...
@@ -87,7 +87,7 @@ class DeviceShell:
self
.
conn_type
=
conn_type
self
.
device_sn
=
device_sn
self
.
name
=
name
self
.
test_path
=
"
/
data/test"
self
.
test_path
=
"data/test"
if
conn_type
:
self
.
device_params
=
self
.
get_device_hdc_para
(
device_sn
...
...
aw/python/distributed/common/drivers.py
浏览文件 @
0c875cc0
...
...
@@ -27,7 +27,7 @@ from core.config.resource_manager import ResourceManager
##############################################################################
##############################################################################
DEVICE_TEST_PATH
=
"
/
%s/%s/"
%
(
"data"
,
"test"
)
DEVICE_TEST_PATH
=
"%s/%s/"
%
(
"data"
,
"test"
)
def
get_level_para_string
(
level_string
):
...
...
aw/python/distributed/distribute/distribute.py
浏览文件 @
0c875cc0
...
...
@@ -288,10 +288,10 @@ class Distribute:
softbus_file_path
=
"out/rk3568/communication/dsoftbus_standard/SoftBusdumpdeviceInfo"
file_path
=
os
.
path
.
normpath
(
os
.
path
.
join
(
"../../"
,
sys
.
framework_root_dir
,
softbus_file_path
))
device
.
push_file
(
file_path
,
"
/
data/test"
)
device
.
shell_with_output
(
"chmod 777 -R
/
data/test/"
)
device
.
push_file
(
file_path
,
"data/test"
)
device
.
shell_with_output
(
"chmod 777 -R data/test/"
)
chmod_device_file_path
=
"SoftBusdumpdeviceInfo"
device_info
=
device
.
shell_with_output
(
"
/
data/test/%s"
%
chmod_device_file_path
)
device_info
=
device
.
shell_with_output
(
"data/test/%s"
%
chmod_device_file_path
)
if
device_info
==
""
:
return
""
...
...
src/core/command/display.py
浏览文件 @
0c875cc0
...
...
@@ -297,7 +297,7 @@ def show_subsystem_list(product_form):
def
show_acts_subsystem_list
():
print
(
"List of currently supported acts subsystem names:"
)
sub_list
=
[
'global'
,
'security'
,
'useriam'
,
'multimedia'
,
'appexecfwk'
,
'account'
,
'communication'
,
'notification'
,
'ability'
,
'miscservices'
,
'powermgr'
,
'startup'
,
'sensor'
,
'distributeddatamgr'
,
'update'
,
'graphic'
,
'arkui'
,
'ability'
,
'miscservices'
,
'powermgr'
,
'startup'
,
'sensor'
,
'distributeddatamgr'
,
'update'
,
'graphic'
,
'arkui'
,
'storage'
,
'compileruntime'
,
'usb'
,
'multimodalinput'
,
'resourceschedule'
,
'telephony'
,
'hiviewdfx'
,
'location'
,
'barrierfree'
,
'customization'
]
sub_list
.
sort
()
...
...
src/core/driver/drivers.py
浏览文件 @
0c875cc0
...
...
@@ -673,7 +673,7 @@ class JSUnitTestDriver(IDriver):
timeout
=
ResourceManager
.
get_nodeattrib_data
(
resource_data_dic
)
else
:
timeout
=
ResourceManager
.
get_nodeattrib_data
(
resource_data_dic
)
resource_manager
.
process_preparer_data
(
resource_data_dic
,
resource_dir
,
self
.
config
.
device
)
resource_manager
.
process_preparer_data
(
resource_data_dic
,
resource_dir
,
self
.
config
.
device
)
main_result
=
self
.
_install_hap
(
suite_file
)
result
=
ResultManager
(
suite_file
,
self
.
config
)
if
main_result
:
...
...
@@ -685,7 +685,7 @@ class JSUnitTestDriver(IDriver):
if
timeout
:
actiontime
=
timeout
times
=
1
device_log_file_open
=
os
.
open
(
device_log_file
,
os
.
O_RDONLY
,
stat
.
S_IWUSR
|
stat
.
S_IRUSR
)
device_log_file_open
=
os
.
open
(
device_log_file
,
os
.
O_RDONLY
,
stat
.
S_IWUSR
|
stat
.
S_IRUSR
)
with
os
.
fdopen
(
device_log_file_open
,
"r"
,
encoding
=
'utf-8'
)
\
as
file_read_pipe
:
for
i
in
range
(
0
,
times
):
...
...
@@ -709,7 +709,7 @@ class JSUnitTestDriver(IDriver):
self
.
result
=
result
.
get_test_results
(
"Error: install hap failed"
)
LOG
.
error
(
"Error: install hap failed"
)
resource_manager
.
process_cleaner_data
(
resource_data_dic
,
resource_dir
,
self
.
config
.
device
)
resource_manager
.
process_cleaner_data
(
resource_data_dic
,
resource_dir
,
self
.
config
.
device
)
def
generate_console_output
(
self
,
device_log_file
,
request
):
result_message
=
self
.
read_device_log
(
device_log_file
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录