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 ):
speed_string = ["31.25 Kbps", "1 Mbps", "2.5 Mbps", "5 Mbps" ]
mount = [ "R54, R55",
"R48, R54",
"R47, R55",
mount = [ "R52, R53",
"R48, R52",
"R47, R53",
"R47, R48" ]
notmount = [ "R47, R48",
"R47, R55",
"R48, R54",
"R54, R55" ]
"R47, R53",
"R48, R52",
"R52, R53" ]
indicators = [ "R65", "R64", "R63", "R62" ]
indicators = [ "R60", "R59", "R58", "R57" ]
util.section_msg("Verification of speed version")
......
......@@ -75,13 +75,14 @@ def test_running_led( dut ):
dut.fipcore.write_regname( 'led.ext_sync_used', 1 )
time.sleep(0.7)
for led in ledlist:
regname = ( 'led.%s' % led )
dut.fipcore.write_regname( regname, 1 )
time.sleep(0.7)
dut.fipcore.write_regname( regname, 0 )
for i in xrange(2):
for led in ledlist:
regname = ( 'led.%s' % led )
dut.fipcore.write_regname( regname, 1 )
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!")
return 0
......
......@@ -236,8 +236,7 @@ def test_txerr( dut, box, maxtries = 50 ):
time.sleep(0.5)
det = dut.fippts.read_regname('fd_txerr_cnt')
# since worldfip cable is disconnected
# transmission errors should be detected
# data line is hold constant, so that invalid frame is being transmitted
if det > 0:
test_result[ 'TX_ERR during corrupted transmission' ] = 1;
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