mirror of
https://gitee.com/openharmony/arkcompiler_runtime_core
synced 2025-03-03 12:38:13 +00:00
Fix running error of TDD test cases on the device
Fix running error of Tdd test cases on the device caused by link symbols not being found. Issue: I62NCV Test: device unit test Signed-off-by: songqi <songqi32@huawei.com> Change-Id: I62d2404430dbc41e1881c34c5b07b9aa2c07678f
This commit is contained in:
parent
e54be31432
commit
d1f876324e
@ -81,8 +81,8 @@ source_set("libarkassembler_static") {
|
||||
":isa_gen_libarkassembler_isa_h",
|
||||
":isa_gen_libarkassembler_opcode_parsing_h",
|
||||
":isa_gen_libarkassembler_operand_types_print_h",
|
||||
"$ark_root/libpandabase:libarkbase",
|
||||
"$ark_root/libpandafile:libarkfile",
|
||||
"$ark_root/libpandabase:libarkbase_static",
|
||||
"$ark_root/libpandafile:libarkfile_static",
|
||||
sdk_libc_secshared_dep,
|
||||
]
|
||||
|
||||
|
@ -44,7 +44,7 @@ host_unittest_action("LibPandaBaseTest") {
|
||||
]
|
||||
|
||||
deps = [
|
||||
"$ark_root/libpandabase:libarkbase",
|
||||
"$ark_root/libpandabase:libarkbase_static",
|
||||
sdk_libc_secshared_dep,
|
||||
]
|
||||
}
|
||||
|
@ -33,8 +33,7 @@ host_unittest_action("LibPandaFileTest") {
|
||||
|
||||
deps = [
|
||||
"$ark_root/assembler:libarkassembler_static",
|
||||
"$ark_root/libpandabase:libarkbase",
|
||||
"$ark_root/libpandafile:libarkfile",
|
||||
"$ark_root/libpandafile:libarkfile_static",
|
||||
sdk_libc_secshared_dep,
|
||||
]
|
||||
}
|
||||
|
@ -29,9 +29,8 @@ host_unittest_action("LibZipArchiveTest") {
|
||||
|
||||
deps = [
|
||||
"$ark_root/assembler:libarkassembler_static",
|
||||
"$ark_root/libpandabase:libarkbase",
|
||||
"$ark_root/libpandafile:libarkfile",
|
||||
"$ark_root/libziparchive:libarkziparchive",
|
||||
"$ark_root/libpandafile:libarkfile_static",
|
||||
"$ark_root/libziparchive:libarkziparchive_static",
|
||||
sdk_libc_secshared_dep,
|
||||
]
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ host_unittest_action("RuntimeTest") {
|
||||
|
||||
deps = [
|
||||
"$ark_root/assembler:libarkassembler_static",
|
||||
"$ark_root/libpandabase:libarkbase",
|
||||
"$ark_root/libpandabase:libarkbase_static",
|
||||
sdk_libc_secshared_dep,
|
||||
]
|
||||
}
|
||||
|
@ -1,39 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright (c) 2022 Huawei Device Co., Ltd.
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<configuration ver="2.0">
|
||||
<target name="LibPandaBaseTest">
|
||||
<preparer>
|
||||
<option name="push" value="arkcompiler/runtime_core/libarkbase.so -> /data/test" src="out"/>
|
||||
</preparer>
|
||||
</target>
|
||||
<target name="LibPandaFileTest">
|
||||
<preparer>
|
||||
<option name="push" value="arkcompiler/runtime_core/libarkbase.so -> /data/test" src="out"/>
|
||||
<option name="push" value="arkcompiler/runtime_core/libarkfile.so -> /data/test" src="out"/>
|
||||
</preparer>
|
||||
</target>
|
||||
<target name="LibZipArchiveTest">
|
||||
<preparer>
|
||||
<option name="push" value="arkcompiler/runtime_core/libarkbase.so -> /data/test" src="out"/>
|
||||
<option name="push" value="arkcompiler/runtime_core/libarkfile.so -> /data/test" src="out"/>
|
||||
<option name="push" value="arkcompiler/runtime_core/libarkziparchive.so -> /data/test" src="out"/>
|
||||
</preparer>
|
||||
</target>
|
||||
<target name="RuntimeTest">
|
||||
<preparer>
|
||||
<option name="push" value="arkcompiler/runtime_core/libarkbase.so -> /data/test" src="out"/>
|
||||
</preparer>
|
||||
</target>
|
||||
</configuration>
|
@ -21,8 +21,6 @@ template("host_unittest_action") {
|
||||
|
||||
# unittest for phone running
|
||||
ohos_unittest(_target_name_) {
|
||||
resource_config_file =
|
||||
"//arkcompiler/runtime_core/tests/resource/ohos_test.xml"
|
||||
forward_variables_from(invoker, "*")
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user