Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
MasterFIP - Testing
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
MasterFIP - Testing
Commits
0671fff8
Commit
0671fff8
authored
May 04, 2017
by
Marek Gumiński
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor changes in tests. Doc update
parent
d59e981f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
15 deletions
+15
-15
MasterFip_PTS_UserGuide.docx
doc/MasterFip_PTS_UserGuide.docx
+0
-0
test00.py
python/test00.py
+7
-7
test01.py
python/test01.py
+7
-6
test02.py
python/test02.py
+1
-2
No files found.
doc/MasterFip_PTS_UserGuide.docx
View file @
0671fff8
No preview for this file type
python/test00.py
View file @
0671fff8
...
...
@@ -19,17 +19,17 @@ def speed_verification( dut ):
speed_string
=
[
"31.25 Kbps"
,
"1 Mbps"
,
"2.5 Mbps"
,
"5 Mbps"
]
mount
=
[
"R5
4, R55
"
,
"R48, R5
4
"
,
"R47, R5
5
"
,
mount
=
[
"R5
2, R53
"
,
"R48, R5
2
"
,
"R47, R5
3
"
,
"R47, R48"
]
notmount
=
[
"R47, R48"
,
"R47, R5
5
"
,
"R48, R5
4
"
,
"R5
4, R55
"
]
"R47, R5
3
"
,
"R48, R5
2
"
,
"R5
2, R53
"
]
indicators
=
[
"R6
5"
,
"R64"
,
"R63"
,
"R62
"
]
indicators
=
[
"R6
0"
,
"R59"
,
"R58"
,
"R57
"
]
util
.
section_msg
(
"Verification of speed version"
)
...
...
python/test01.py
View file @
0671fff8
...
...
@@ -75,13 +75,14 @@ def test_running_led( dut ):
dut
.
fipcore
.
write_regname
(
'led.ext_sync_used'
,
1
)
time
.
sleep
(
0.7
)
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
...
...
python/test02.py
View file @
0671fff8
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment