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
c67cdf71
Commit
c67cdf71
authored
Jul 28, 2011
by
Samuel Iglesias Gonsalvez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tps: move the removal of the jumper from test02 to tps.sh
parent
1a5c12c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
test02.py
test/spec/python/test02.py
+0
-11
tps.sh
tps.sh
+12
-0
No files found.
test/spec/python/test02.py
View file @
c67cdf71
...
...
@@ -306,17 +306,6 @@ 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"
);
...
...
tps.sh
View file @
c67cdf71
...
...
@@ -21,5 +21,17 @@ if [ x$extra_serial = x"" ]; then
extra_serial
=
0000
fi
tmp
=
""
echo
-n
"--------------------------------------------------------------"
echo
-n
"--------------------------------------------------------------"
echo
-n
"Remove the jumper from the board!"
echo
-n
"Press enter to continue..."
echo
-n
"--------------------------------------------------------------"
echo
-n
"--------------------------------------------------------------"
read
tmp
sudo
./tps.py
-b
SPEC
-s
$serial
-e
$extra_serial
-t
./test/spec/python
-l
$LOGDIR
00 01 02 03 04 05 06 07 08 09 10 12
echo
-n
"Press enter to close the window... "
read
tmp
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