Commit 0671fff8 authored by Marek Gumiński's avatar Marek Gumiński

Minor changes in tests. Doc update

parent d59e981f
...@@ -19,17 +19,17 @@ def speed_verification( dut ): ...@@ -19,17 +19,17 @@ def speed_verification( dut ):
speed_string = ["31.25 Kbps", "1 Mbps", "2.5 Mbps", "5 Mbps" ] speed_string = ["31.25 Kbps", "1 Mbps", "2.5 Mbps", "5 Mbps" ]
mount = [ "R54, R55", mount = [ "R52, R53",
"R48, R54", "R48, R52",
"R47, R55", "R47, R53",
"R47, R48" ] "R47, R48" ]
notmount = [ "R47, R48", notmount = [ "R47, R48",
"R47, R55", "R47, R53",
"R48, R54", "R48, R52",
"R54, R55" ] "R52, R53" ]
indicators = [ "R65", "R64", "R63", "R62" ] indicators = [ "R60", "R59", "R58", "R57" ]
util.section_msg("Verification of speed version") util.section_msg("Verification of speed version")
......
...@@ -75,13 +75,14 @@ def test_running_led( dut ): ...@@ -75,13 +75,14 @@ def test_running_led( dut ):
dut.fipcore.write_regname( 'led.ext_sync_used', 1 ) dut.fipcore.write_regname( 'led.ext_sync_used', 1 )
time.sleep(0.7) time.sleep(0.7)
for led in ledlist: for i in xrange(2):
regname = ( 'led.%s' % led ) for led in ledlist:
dut.fipcore.write_regname( regname, 1 ) regname = ( 'led.%s' % led )
time.sleep(0.7) dut.fipcore.write_regname( regname, 1 )
dut.fipcore.write_regname( regname, 0 ) time.sleep(0.7)
dut.fipcore.write_regname( regname, 0 )
if not util.ask_user("Was there no more than one led enabled at a time?"): if not util.ask_user("Was only one LED enabled at a time?"):
util.err_msg("LED's verification failed!") util.err_msg("LED's verification failed!")
return 0 return 0
......
...@@ -236,8 +236,7 @@ def test_txerr( dut, box, maxtries = 50 ): ...@@ -236,8 +236,7 @@ def test_txerr( dut, box, maxtries = 50 ):
time.sleep(0.5) time.sleep(0.5)
det = dut.fippts.read_regname('fd_txerr_cnt') det = dut.fippts.read_regname('fd_txerr_cnt')
# since worldfip cable is disconnected # data line is hold constant, so that invalid frame is being transmitted
# transmission errors should be detected
if det > 0: if det > 0:
test_result[ 'TX_ERR during corrupted transmission' ] = 1; test_result[ 'TX_ERR during corrupted transmission' ] = 1;
util.info_msg( "TX_ERR counter after corrupted transmission: %d" % det ) util.info_msg( "TX_ERR counter after corrupted transmission: %d" % det )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment