Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Test Xdevice
提交
a85b082d
T
Test Xdevice
项目概览
OpenHarmony
/
Test Xdevice
大约 1 年 前同步成功
通知
6
Star
23
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Test Xdevice
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a85b082d
编写于
9月 28, 2021
作者:
O
openharmony_ci
提交者:
Gitee
9月 28, 2021
浏览文件
操作
浏览文件
下载
差异文件
!44 bug fix alarm
Merge pull request !44 from alex_hold/cherry-pick-1632841523
上级
782dad86
33caf7c7
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
0 addition
and
26 deletion
+0
-26
extension/src/xdevice_extension/_core/testkit/kit.py
extension/src/xdevice_extension/_core/testkit/kit.py
+0
-26
未找到文件。
extension/src/xdevice_extension/_core/testkit/kit.py
浏览文件 @
a85b082d
...
...
@@ -393,7 +393,6 @@ class ConfigKit(ITestKit):
self
.
is_disable_dialing
=
""
self
.
is_test_harness
=
""
self
.
is_audio_silent
=
""
self
.
is_disable_dalvik_verifier
=
""
self
.
build_prop_list
=
""
self
.
is_enable_hook
=
""
self
.
cust_prop_file
=
""
...
...
@@ -415,8 +414,6 @@ class ConfigKit(ITestKit):
self
.
is_disable_dialing
=
get_config_value
(
'disable-dialing'
,
config
)
self
.
is_test_harness
=
get_config_value
(
'set-test-harness'
,
config
)
self
.
is_audio_silent
=
get_config_value
(
'audio-silent'
,
config
)
self
.
is_disable_dalvik_verifier
=
get_config_value
(
'disable-dalvik-verifier'
,
config
)
self
.
build_prop_list
=
get_config_value
(
'build-prop'
,
config
)
self
.
cust_prop_file
=
get_config_value
(
'cust-prop-file'
,
config
)
self
.
cust_props
=
get_config_value
(
'cust-prop'
,
config
)
...
...
@@ -471,8 +468,6 @@ class ConfigKit(ITestKit):
new_props
[
'ro.test_harness'
]
=
'1'
if
self
.
is_audio_silent
:
new_props
[
'ro.audio.silent'
]
=
'1'
if
self
.
is_disable_dalvik_verifier
:
new_props
[
'dalvik.vm.dexopt-flags'
]
=
'v=n'
for
prop
in
self
.
build_prop_list
:
if
prop
is
None
or
prop
.
find
(
"="
)
<
0
or
len
(
prop
.
split
(
"="
))
!=
2
:
LOG
.
warning
(
"The build prop:{} not match the format "
...
...
@@ -625,28 +620,7 @@ class AppInstallKit(ITestKit):
finally
:
zif_file
.
close
()
else
:
# push_dest = "/%s" % "sdcard"
# push_dest = "%s/%s" % (push_dest, os.path.basename(hap_file))
# device.push_file(hap_file, push_dest)
# self.pushed_hap_file.append(push_dest)
# output = device.execute_shell_command("bm install -p " + push_dest)
output
=
device
.
hdc_command
(
"install %s"
%
hap_file
)
# if not output.startswith("Success"):
# output = output.strip()
# if "[ERROR_GET_BUNDLE_INSTALLER_FAILED]" not in output.upper():
# raise AppInstallError(
# "Failed to install %s on %s. Reason:%s" %
# (push_dest, device.__get_serial__(), output))
# else:
# LOG.info("'[ERROR_GET_BUNDLE_INSTALLER_FAILED]' occurs, "
# "retry install hap")
# exec_out = self.retry_install_hap(
# device, "bm install -p " + push_dest)
# if not exec_out.startswith("Success"):
# raise AppInstallError(
# "Retry failed,Can't install %s on %s. Reason:%s" %
# (push_dest, device.__get_serial__(), exec_out))
# else:
LOG
.
debug
(
"Install %s, and output = %s"
%
(
hap_file
,
output
))
@
classmethod
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录