mirror of
https://gitee.com/openharmony/testfwk_developer_test
synced 2024-11-22 23:20:11 +00:00
Signed-off-by:lizhengrong<lizhengrong9@huawei.com>
This commit is contained in:
parent
58428751af
commit
2ade7de7b0
@ -872,7 +872,7 @@ subsystem # 子系统
|
||||
```
|
||||
<option name="shell" value="hilog -d /设备中的二进制文件路径"/>
|
||||
// 例如
|
||||
<option name="shell" value="hilog -d /data/test/resource/libc++.z.so"/>
|
||||
<option name="shell" value="hilog -d /data/test/resource/test.z.so"/>
|
||||
```
|
||||
3. 在测试用例的编译配置文件中定义resource_config_file进行指引,用来指定对应的资源文件ohos_test.xml
|
||||
```
|
||||
|
@ -118,7 +118,8 @@ def find_so_source_dest(path: str, subsystem_name: str) -> dict:
|
||||
|
||||
source_path = os.path.join(out_path, json_obj["source"])
|
||||
if source_path.endswith(".so"):
|
||||
so_dict[source_path] = [tmp for tmp in json_obj["dest"] if (tmp.startswith("system/") or tmp.startswith("vendor/"))]
|
||||
so_dict[source_path] = [tmp for tmp in json_obj["dest"] if (
|
||||
tmp.startswith("system/") or tmp.startswith("vendor/"))]
|
||||
|
||||
return so_dict
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user