From b4dd58f16d0d228750d064acdd345bde80701b9c Mon Sep 17 00:00:00 2001 From: songqi Date: Mon, 13 Feb 2023 09:49:39 +0800 Subject: [PATCH] Fix es2abc test failure caused by the change of thirdparty library to dynamic dependency Issue: I6EKMR Tests:test262/parser/compiler/tsc Signed-off-by: songqi Change-Id: I57fb908a39dc11f65805630ed256c6166c15a890 --- es2panda/test/BUILD.gn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/es2panda/test/BUILD.gn b/es2panda/test/BUILD.gn index c5c0359623f..dcd5afa0e2f 100644 --- a/es2panda/test/BUILD.gn +++ b/es2panda/test/BUILD.gn @@ -65,7 +65,10 @@ action("es2abc_compiler_tests") { llvm_lib_dir = rebase_path("//prebuilts/clang/ohos/linux-x86_64/llvm/lib/") - ld_library_path = "${ark_js_runtime_dir}:${icu_dir}:${llvm_lib_dir}" + zlib_dir = rebase_path("${root_out_dir}/thirdparty/zlib") + + ld_library_path = + "${ark_js_runtime_dir}:${icu_dir}:${llvm_lib_dir}:${zlib_dir}" args = [ "--no-progress", -- Gitee