From 68a8303a4d781bff7a87c76713948cd06ff7c65e Mon Sep 17 00:00:00 2001 From: redjie Date: Fri, 4 Nov 2022 15:34:28 +0800 Subject: [PATCH] modify Hi3861_wifiiot_app_allinone.bin name to OHOS_image.bin Signed-off-by: redjie Change-Id: I313786ef5a5d4cad2d1a833838598c557ee61060 --- mini_system_test/L0_mini_system_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mini_system_test/L0_mini_system_test.py b/mini_system_test/L0_mini_system_test.py index c5cd045..bdcb917 100644 --- a/mini_system_test/L0_mini_system_test.py +++ b/mini_system_test/L0_mini_system_test.py @@ -106,11 +106,11 @@ if __name__ == "__main__": PrintToLog("End of check, test failed!") sys.exit(99) - target_file = os.path.normpath(os.path.join(args.archive_path, "Hi3861_wifiiot_app_allinone.bin")) + target_file = os.path.normpath(os.path.join(args.archive_path, "OHOS_image.bin")) ret_size = os.path.getsize(target_file)/1024/1024 - PrintToLog('Size of Hi3861_wifiiot_app_allinone.bin : {:.2f}M'.format(ret_size)) + PrintToLog('Size of OHOS_image.bin : {:.2f}M'.format(ret_size)) if ret_size > 1: - PrintToLog('ERROR: Size of Hi3861_wifiiot_app_allinone.bin ({:.2f}M) is over the upper limit(1M)'.format(ret_size)) + PrintToLog('ERROR: Size of OHOS_image.bin ({:.2f}M) is over the upper limit(1M)'.format(ret_size)) target_dir = os.path.normpath(os.path.join(args.archive_path, "libs")) GetDirSize(target_dir) PrintToLog("End of check, test failed!") -- Gitee