update app

This commit is contained in:
Qubot 2025-04-15 06:05:17 +00:00
parent fdac7abf5b
commit f9293e9a14

View File

@ -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"