night.cfg 6.57 KB
#################################################
      BCP Random test for nightly regressions
#################################################


######### RI Single READ ############
Name: RI Single Read
Cmd: ../../iosim -f ../test/ri_sread.tst -d 0241
log: ri_sread.log
chk: grep -i fail %s
Ret: 1
Mem: 8192
Pri: 1
Mcp: 1


######### RI Single WRITE ############
Name: RI Single Write
Cmd: ../../iosim -f ../test/ri_swrite.tst -d 0241
log: ri_swrite.log
chk: grep -i fail %s
Ret: 1
Mem: 8192
Pri: 1
Mcp: 1


######### AI DMA TEST ############
Name: AI DMA
Cmd: ../../iosim -f ../test/ai_dma.tst -d 0241
log: ai_dma.log
chk: grep -i fail %s
Ret: 1
Mem: 8192
Pri: 3
Mcp: 1
Lock: AI

########## SP PIO TEST ############
Name: SP PIO
Cmd: ../../iosim -f ../test/sp_pio.tst -d 0241
log: sp_pio.log
chk: grep -i fail %s
Ret: 1
Mem: 8192
Pri: 2
Mcp: 1
Lock: SP

########## SP DMA TEST0 ###########
Name: SP DMA0
Cmd: ../../iosim -f ../test/sp_dma.tst -d 0241
log: sp_dma0.log
chk: grep -i fail %s
Ret: 1
Mem: 8192
Pri: 2
Mcp: 1
Lock: SP

########## SP DMA TEST0 ###########
Name: SP DMA1
Cmd: ../../iosim -f ../test/sp_dma1.tst -d 0241
log: sp_dma1.log
chk: grep -i fail %s
Ret: 1
Mem: 8192
Pri: 1 
Mcp: 1
Lock: SP

########## USB0 pio ################
Name: USB0 PIO 
Cmd: ../../iosim -f ../test/ui_pio.tst -d 0241
log: ui0_pio.log
chk: grep -i fail %s
Ret: 1
Mem: 0
Pri: 1
Mcp: 1
Lock: USB0

########## USB1 pio ################
Name: USB1 PIO 
Cmd: ../../iosim -f ../test/ui_pio1.tst -d 0241
log: ui1_pio.log
chk: grep -i fail %s
Ret: 1
Mem: 0
Pri: 1
Mcp: 1
Lock: USB1

########## USB0 Transaction ###########
Name: USB0 Random Transaction 
Cmd: ../../iosim -f ../test/usb0_trans.tst -d 0241
log: ui0_trans.log
chk: grep -i fail %s
Ret: 1
Mem: 8192
Pri: 3
Mcp: 1
Lock: USB0

########## USB1 Transaction ###########
Name: USB1 Random Transaction 
Cmd: ../../iosim -f ../test/usb1_trans.tst -d 0241
log: ui1_trans.log
chk: grep -i fail %s
Ret: 1
Mem: 8192
Pri: 3
Mcp: 1
Lock: USB1

######### VI LAN1 #####################
Name: VI LAN1(18bits)
Cmd: ../test/vi_lan1
log: vi_lan1.log
chk: grep -i equat %s
Ret: 0
Mem: 0
Pri: 1
Mcp: 1
Lock: VI

######### VI LPN2 #####################
Name: VI LPN2(32bits)
Cmd: ../test/vi_lpn2
log: vi_lpn2.log
chk: grep -i equat %s
Ret: 0
Mem: 0
Pri: 1
Mcp: 1
Lock: VI

########## DP ATT Test ################
Name: RDP ATT 014 Test
Cmd: ../test/dp_att_014
log: dp_att.log
chk: grep -i fail %s
Ret: 1
Mem: 0
Pri: 1
Mcp: 1
Lock: DP

########## DP COV Test ################
Name: RDP COV 023 Test
Cmd: ../test/dp_cov_023
log: dp_cov.log
chk: grep -i fail %s
Ret: 1
Mem: 0
Pri: 1
Mcp: 1
Lock: DP

########## DP EW Test ################
Name: RDP EW 116 Test(32 bits)
Cmd: ../test/dp_ew_116
log: dp_ew.log
chk: grep -i fail %s
Ret: 1
Mem: 0
Pri: 1
Mcp: 1
Lock: DP

########## DP MS Test ################
Name: RDP MS 002 Test
Cmd: ../test/dp_ms_002
log: dp_ms.log
chk: grep -i fail %s
Ret: 1
Mem: 0
Pri: 1
Mcp: 1
Lock: DP

########## DP TEX Test ################
Name: RDP TEX 038 Test
Cmd: ../test/dp_tex_038
log: dp_tex.log
chk: grep -i fail %s
Ret: 1
Mem: 0
Pri: 1
Mcp: 1
Lock: DP

######### SI TESTS ############
Name: SiTestRandom(1, ForceFail_None, 0, 0);
Cmd: ../../si_test/si_testr -q -d 341 -t 0
log: si.r0.log
lock: SI
// %s refer to log file
chk: s=%s;grep "total test = 1, error count = 0" $s && ! grep "Failed" $s
Ret: 0
Mem: 1024
Mcp: 1

Name: SiTestRandom(1, ForceFail_None, StartWithXs, 0);
Cmd: ../../si_test/si_testr -q -d 341 -t 1
log: si.r1.log
lock: SI
// %s refer to log file
chk: s=%s;grep "total test = 1, error count = 0" $s && ! grep "Failed" $s
Ret: 0
Mem: 1024
Mcp: 1

Name: SiTestValidCtrlCmds(1, 0, 0, 0);
Cmd: ../../si_test/si_testr -q -d 341 -t 2
log: si.r2.log
lock: SI
// %s refer to log file
chk: s=%s;grep "total test = 1, error count = 0" $s && ! grep "Failed" $s
Ret: 0
Mem: 1024
Mcp: 1

Name: SiTestInvalidCtrlrCmds(1, 0, 0, 0);
Cmd: ../../si_test/si_testr -q -d 341 -t 3
log: si.r3.log
lock: SI
// %s refer to log file
chk: s=%s;grep "total test = 1, error count = 0" $s && ! grep "Failed" $s
Ret: 0
Mem: 1024
Mcp: 1

Name: SiTestCtrlrErrViaBD(1, CtrlQueryStatus, 0, 0);
Cmd: ../../si_test/si_testr -q -d 341 -t 4
log: si.r4.log
lock: SI
// %s refer to log file
chk: s=%s;grep "total test = 1, error count = 0" $s && ! grep "Failed" $s
Ret: 0
Mem: 1024
Mcp: 1

Name: SiTestDmaBusyError(1, SI_DMA_WR_REG, PIF_RAM_START, 0);
Cmd: ../../si_test/si_testr -q -d 341 -t 5
log: si.r5.log
lock: SI
// %s refer to log file
chk: s=%s;grep "total test = 1, error count = 0" $s && ! grep "Failed" $s
Ret: 0
Mem: 1024
Mcp: 1

Name: SiTestSingleCmdDetection(1, 1, 0, 0);
Cmd: ../../si_test/si_testr -q -d 341 -t 6
log: si.r6.log
lock: SI
// %s refer to log file
chk: s=%s;grep "total test = 1, error count = 0" $s && ! grep "Failed" $s
Ret: 0
Mem: 1024
Mcp: 1

Name: SiTestJChannelReset(1, 0, 0, 0);
Cmd: ../../si_test/si_testr -q -d 341 -t 7
log: si.r7.log
lock: SI
// %s refer to log file
chk: s=%s;grep "total test = 1, error count = 0" $s && ! grep "Failed" $s
Ret: 0
Mem: 1024
Mcp: 1

Name: SiTestDmaStress(num_iterations);
Cmd: ../../si_test/si_testr -q -d 341 -t 8 10
log: si.r8.log
lock: SI
// %s refer to log file
chk: s=%s;grep "total test = 1, error count = 0" $s && ! grep "Failed" $s
Ret: 0
Mem: 1024
Mcp: 1
######### END SI TESTS ############

######## PI DMA test ##############
Name: PI Buffer DMA (both directions)
Cmd: ../../pi_test/pi_bufdma -k
log: pi.dma.log
// %s refer to log file
chk: grep -i FAIL %s
# no fail is found
Ret: 1
Lock: PI
Mem: 2048
Pri: 2
Mcp: 1

########### PI GPIO ###########

Name: GPIO Signal test (using IDE)
Cmd: ../../pi_test/pi_gp_ide_io -k
log: pi.gpio.log
// %s refer to log file
chk: grep -i FAIL %s
# no fail is found
Ret: 1
Lock: PI
Mem: 0
Pri: 2
Mcp: 1

######### MI INTERNAL SRAM Write/Read  ############
Name: MI Internal SRAM WRITE/Read
Cmd: ../../mi_test/mi_random -q -d 0241 -t isram
log: mi_random.log
chk: grep -i fail %s
Ret: 1
Mem: 0
Pri: 1
Mcp: 1

######### MI Virage0 Write/Read  ############
Name: MI Virage0 Write/Read
Cmd: ../../mi_test/mi_random -q -d 0241 -t v0sram
log: mi_random.log
chk: grep -i fail %s
Ret: 1
Mem: 0
Pri: 1
Mcp: 1

######### MI Virage1 Write/Read  ############
Name: MI Virage1 Write/Read
Cmd: ../../mi_test/mi_random -q -d 0241 -t v1sram
log: mi_random.log
chk: grep -i fail %s
Ret: 1
Mem: 0
Pri: 1
Mcp: 1

######### MI Virage2 Write/Read  ############
Name: MI Virage2 Write/Read
Cmd: ../../mi_test/mi_random -q -d 0241 -t v2sram
log: mi_random.log
chk: grep -i fail %s
Ret: 1
Mem: 0
Pri: 1
Mcp: 1

######### MI DRAM Write/Read  ############
Name: MI DRAM Write/Read
Cmd: ../../mi_test/mi_random -q -d 0241 -t dram
log: mi_random.log
chk: grep -i fail %s
Ret: 1
Mem: 8192
Pri: 1
Mcp: 1