td2psanity.soc (1515B)
1 # 2 # This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 3 # 4 # Copyright 2007-2019 Broadcom Inc. All rights reserved. 5 # 6 # Trident2+ Sanity 7 # 8 # Script to run all available tests as quickly as possible. 9 # For testing basic sanity of new drivers, simulators, chips, etc. 10 # 11 log file=td2psanity.txt append=yes on 12 13 # Set run command script not to fail on errors reported by commands 14 # this allows the script to continue if a test fails 15 set rcerror=false 16 17 # Set up test mode: don't stop on errors, show progress on each test 18 tm -stoponerror +progress 19 # Unselect all 20 ts -* 21 22 echo "testsuite: started: sanity" 23 time 'rcload rc.soc' 24 counter off 25 l2mode off 26 27 #Display some useful information 28 date 29 ver 30 soc 31 32 # We need to print out port status since any cabling effects results. 33 *:ps 34 35 # Avoid link messages while testing 36 linkscan off 37 memscan off 38 39 echo "init soc" 40 init soc 41 42 echo "Running PCI Compliance ..." 43 tr 2 44 $done 45 46 echo "Running PCI S-Channel Buf ..." 47 tr 4 48 $done 49 50 #Start Test 51 echo "Starting tr 1" 52 tr 1 53 echo "Starting tr 3" 54 tr 3 mask64 55 56 echo "init soc" 57 init soc 58 echo "init misc" 59 init misc 60 61 rcload my_tr50_bcm56860_a0.soc 62 rcload my_tr51_bcm56860_a0.soc 63 rcload my_tr52_bcm56860_a0.soc 64 rcload my_tr71_bcm56860_a0.soc 65 66 # RUN rc.soc on tr 18 67 #set rct=true 68 69 # do not run rc.soc on tr 18 70 set rct=false 71 72 #echo "init soc" 73 #init soc 74 #echo "init misc" 75 #init misc 76 #echo "init mmu" 77 #init mmu 78 #echo "init bcm" 79 #init bcm 80 81 #echo "Starting tr 18" 82 #tr 18 83 84 tl 85 86 log off