Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
Conv TTL RS485 - Testing
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
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
Conv TTL RS485 - Testing
Commits
2e84587f
Commit
2e84587f
authored
Nov 06, 2014
by
Theodor-Adrian Stana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw: Renamed flash.py for flashtest.py
parent
8fa136a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
flashtest.py
pts/python/flashtest.py
+12
-5
No files found.
pts/python/flash.py
→
pts/python/flash
test
.py
View file @
2e84587f
...
...
@@ -39,6 +39,7 @@
# Import system modules
import
sys
sys
.
path
.
append
(
"lib/"
)
import
time
import
os
,
errno
,
re
,
sys
,
struct
import
os.path
...
...
@@ -95,11 +96,17 @@ if __name__ == '__main__':
log
.
write
(
"Run:1 Begin: test08
\n
"
)
inf
.
write
(
"Run:1 Begin: test08
\n
"
)
ret
=
main
(
bus
,
'test08'
,
inf
,
log
)
if
(
ret
==
0
):
log
.
write
(
"PASS: test08
\n
"
)
else
:
log
.
write
(
"FAIL: test08
\n
"
)
try
:
ret
=
main
(
bus
,
'test08'
,
inf
,
log
)
if
(
ret
==
0
):
log
.
write
(
"PASS: test08
\n
"
)
else
:
log
.
write
(
"FAIL: test08->flashtest.py
\n
"
)
except
Exception
as
e
:
msg
=
"FAIL: test08->flashtest.py (
%
s)"
%
e
log
.
write
(
msg
+
'
\n
'
)
inf
.
write
(
msg
+
'
\n
'
)
print
msg
log
.
write
(
"Run:1 End: test08
\n
"
)
inf
.
write
(
"Run:1 End: test08
\n
"
)
...
...
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