From 55b918d75ad684cf9e77a0c44e6148d49e17e4d4 Mon Sep 17 00:00:00 2001 From: lnlan Date: Mon, 25 Apr 2022 10:39:58 +0000 Subject: [PATCH] =?UTF-8?q?rk=E5=8E=BB=E9=99=A4=E9=94=81=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4e9c607f256c6e0d292ca82e8f8172b46115373d Signed-off-by: lnlan --- .../app_capture_screen_test_config.json | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/screenshot/rk_master/app_capture_screen_test_config.json b/screenshot/rk_master/app_capture_screen_test_config.json index 2d3457b..316e655 100644 --- a/screenshot/rk_master/app_capture_screen_test_config.json +++ b/screenshot/rk_master/app_capture_screen_test_config.json @@ -10,6 +10,22 @@ "remount":["hdc_std shell mount -o rw,remount /"], "cmp_cmd-level":["", 443200] }, + { + "app_name": "lock", + "entry": "", + "hdc_list_cmd":["hdc_std list targets"], + "rm_lock_cmd":["hdc_std shell input -T -m 350 900 350 300"], + "reboot_cmd":["hdc_std shell reboot"], + "rm_data_cmd":["hdc_std shell rm -rf data/*"], + "powermode_cmd":["hdc_std shell \"power-shell setmode 602\""], + "mk_anwser_dir":["hdc_std shell mkdir -p /data/screen_test/train_set"], + "send_tool":["hdc_std file send D:\\DeviceTestTools\\printscreen\\printscreen /data/screen_test/"], + "chmod_tool":["hdc_std shell chmod 777 /data/screen_test/printscreen"], + "all_actions": [ + [2, "rm_data_cmd"], [20, "reboot_cmd"],[3, "hdc_list_cmd"], [3, "powermode_cmd"], [3, "rm_lock_cmd"], + [3, "powermode_cmd"], [3, "rm_lock_cmd"], [3, "powermode_cmd"], + [2, "rm_lock_cmd"], [2, "rm_lock_cmd"], [1, "mk_anwser_dir"], [1, "send_tool"], [1, "chmod_tool"]] + }, { "app_name": "audio_render", "entry": "", @@ -21,8 +37,8 @@ "audio_render_test":["hdc_std shell \"cd /data && ./hdf_audio_hdi_server_function_test --gtest_filter=AudioServerFunctionTest.SUB_Audio_Function_Render_Test_* && rm *.xml\"", "[ PASSED ] 12 tests."], "audio_capture_test":["hdc_std shell \"cd /data && ./hdf_audio_hdi_server_function_test --gtest_filter=AudioServerFunctionTest.SUB_Audio_Function_Capture_Test_* && rm *.xml\"", "[ PASSED ] 10 test."], "all_actions": [ - [2, "remount"], [2, "sendfile1"], [2, "sendfile2"], [2, "chmodfile1"], - [5, "audio_render_test"] + [2, "remount"], [2, "sendfile1"], [2, "sendfile2"], [2, "chmodfile1"], + [5, "audio_render_test"] ] }, { -- Gitee