From f9293e9a147fb75498fbd6d2135e6c9801f9a1d4 Mon Sep 17 00:00:00 2001 From: Qubot <1445788683@qq.com> Date: Tue, 15 Apr 2025 06:05:17 +0000 Subject: [PATCH] update app --- app_ft-script.sh | 77 ++++++++++++++++-------------------------------- 1 file changed, 25 insertions(+), 52 deletions(-) diff --git a/app_ft-script.sh b/app_ft-script.sh index f475d27..50b0e01 100644 --- a/app_ft-script.sh +++ b/app_ft-script.sh @@ -1,9 +1,9 @@ #/bin/bash -### This tool is for BPI-R4 function test in manufacturer ### +### This tool is for BPI-RV2 function test in manufacturer ### RET=0 PREFIX=`pwd`/ -DEUBGFILE=/var/run/r4-ft-script.log +DEUBGFILE=/var/run/rv2-ft-script.log AUTOMATIC_CASE_NUM=0 MANUAL_CASE_NUM=0 @@ -15,7 +15,7 @@ echo " " echo " " echo "######################################################################################" -echo "######################## BPI-R4 Function Testing Start ########################" +echo "######################## BPI-RV2 Function Testing Start ########################" ### Sets QUIT variable so script will finish. ### quit() { @@ -78,73 +78,46 @@ run_script() step_automatic_func() { TITLE="Automatic Test Cases" - AUTOMATIC_CASE_NUM=9 - CASE_NUM=9 + AUTOMATIC_CASE_NUM=5 + CASE_NUM=5 TEXT_1="Memory_Test_Case" FUNC_1="memory-script" - TEXT_2="WIFI_Test_Case" - FUNC_2="wifi-script" + TEXT_2="miniPCIeX2_Test_Case" + FUNC_2="minipciex2-script" - TEXT_3="miniPCIeX2_Test_Case" - FUNC_3="minipciex2-script" + TEXT_3="miniPCIeUSB_Test_Case" + FUNC_3="minipcieusb-script" - TEXT_4="miniPCIeUSB_Test_Case" - FUNC_4="minipcieusb-script" + TEXT_4="NOR_Test_sase" + FUNC_4="nor-script" - TEXT_5="NVME_Test_Case" - FUNC_5="nvme-script" - - TEXT_6="NAND_Test_sase" - FUNC_6="nand-script" - - TEXT_7="EMMC_Test_sase" - FUNC_7="emmc-script" - - TEXT_8="RTC_Test_sase" - FUNC_8="rtc-script" - - TEXT_9="EEPROM_Test_sase" - FUNC_9="eeprom-script" + TEXT_5="RTC_Test_sase" + FUNC_5="rtc-script" } ### Options for manual test cases ### step_manual_func() { TITLE="Manual Test Cases" - MANUAL_CASE_NUM=10 - CASE_NUM=10 + MANUAL_CASE_NUM=5 + CASE_NUM=5 - TEXT_1="FAN_Test_Case" - FUNC_1="fan-script" + TEXT_1="USB20_Test_Case" + FUNC_1="usb20-script" - TEXT_2="LED_Test_Case" - FUNC_2="led-script" + TEXT_2="Ethernet_Test_Case" + FUNC_2="ethernet-script" - TEXT_3="KEY_Test_Case" - FUNC_3="key-script" + TEXT_3="26PINGPIO_Test_Case" + FUNC_3="26pingpio-script" - TEXT_4="USB30_Test_Case" - FUNC_4="usb30-script" + TEXT_4="M2KeyB_PCIE_Test_Case" + FUNC_4="m2keybpcie-script" - TEXT_5="USB20_Test_Case" - FUNC_5="usb20-script" - - TEXT_6="Ethernet_Test_Case" - FUNC_6="ethernet-script" - - TEXT_7="26PINGPIO_Test_Case" - FUNC_7="26pingpio-script" - - TEXT_8="M2KeyB_PCIE_Test_Case" - FUNC_8="m2keybpcie-script" - - TEXT_9="M2KeyB_USB2_Test_Case" - FUNC_9="m2keybusb2-script" - - TEXT_10="M2KeyB_USB3_Test_Case" - FUNC_10="m2keybusb3-script" + TEXT_5="M2KeyB_USB_Test_Case" + FUNC_5="m2keybusb-script" } STEPS_1="step_automatic_func"