Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Production Test Suite
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
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
Production Test Suite
Commits
dda98e95
Commit
dda98e95
authored
Jul 22, 2011
by
Samuel Iglesias Gonsalvez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tps/test: ask the user to remove the jumper in test02
parent
2421483e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
test02.py
test/spec/python/test02.py
+11
-0
No files found.
test/spec/python/test02.py
View file @
dda98e95
...
...
@@ -306,6 +306,17 @@ def main (default_directory='.'):
time
.
sleep
(
2
);
# Ask to the user to remove the jumper.
tmp_stdout
=
sys
.
stdout
;
sys
.
stdout
=
sys
.
__stdout__
;
tmp_stdin
=
sys
.
stdin
;
sys
.
stdin
=
sys
.
__stdin__
;
ask
=
""
;
ask
=
raw_input
(
"Remove the jumper from the SPEC board. (Press ENTER to continue)"
)
sys
.
stdout
=
tmp_stdout
;
sys
.
stdin
=
tmp_stdin
;
# Continue the test
gennum
=
rr
.
Gennum
();
eeprom
=
EEPROM_GENNUM
(
gennum
);
eeprom
.
eeprom_dump_to_file
(
"/tmp/eeprom.dat"
);
...
...
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