mirror of
https://gitee.com/openharmony/testfwk_xdevice
synced 2024-11-23 07:20:44 +00:00
修复querySmall.bin文件找不到的问题;设置user_config.xml的日志默认级别为DEBUG
Signed-off-by: deveco_xdevice <liguangjie1@huawei.com>
This commit is contained in:
parent
d6f87535dd
commit
df9a47a5ee
@ -68,8 +68,8 @@
|
||||
</resource>
|
||||
<devicelog>
|
||||
<enable>ON</enable>
|
||||
<loglevel>DEBUG</loglevel>
|
||||
<loglevel>INFO</loglevel>
|
||||
<dir />
|
||||
</devicelog>
|
||||
<loglevel>DEBUG</loglevel>
|
||||
<loglevel>INFO</loglevel>
|
||||
</user_config>
|
@ -299,9 +299,11 @@ class MountKit(ITestKit):
|
||||
testcases_dir):
|
||||
file_local_paths = []
|
||||
# find querySmall.bin
|
||||
query_small_src = "resource/tools/querySmall.bin"
|
||||
try:
|
||||
file_path = get_file_absolute_path("resource/tools/querySmall.bin", self.paths)
|
||||
file_path = get_file_absolute_path(query_small_src, self.paths)
|
||||
file_local_paths.append(file_path)
|
||||
self.mount_list.append({"source": query_small_src, "target": "/test_root/tools"})
|
||||
except ParamError:
|
||||
LOG.debug("query bin is not found")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user