From dec8eed556044a688b6b06b86d241d013e1de343 Mon Sep 17 00:00:00 2001 From: zhanghaibo Date: Tue, 25 Apr 2023 12:14:16 +0000 Subject: [PATCH] demo Signed-off-by: zhanghaibo --- ohos/update/check_abi_and_copy_deps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ohos/update/check_abi_and_copy_deps.py b/ohos/update/check_abi_and_copy_deps.py index 59c4f75be3..3f19ef212e 100755 --- a/ohos/update/check_abi_and_copy_deps.py +++ b/ohos/update/check_abi_and_copy_deps.py @@ -118,7 +118,7 @@ def do_check(target_out_dir, target_name, stripped_dir, readelf, abidiff, abidw, base_name = os.path.basename(out_file) base_file = os.path.join(abi_dumps_path, toolchain_name, base_name) if not os.path.exists(base_file): - raise Exception("File " + base_file + " not exists!") + return ret = subprocess.call([abidiff, out_file, base_file]) if ret != 0: raise Exception("ABI info in " + out_file + " and " + base_file + " are different!") -- Gitee