Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Testing
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
FMC ADC 100M 14b 4cha - Testing
Commits
bab2219d
Commit
bab2219d
authored
Aug 01, 2011
by
Samuel Iglesias Gonsalvez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tps: change tps for pts (Production Test Suite). Added license
parent
f715c5d0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
513 deletions
+10
-513
pts.sh
pts.sh
+2
-2
tps.py
tps.py
+0
-493
tpsdefault.cfg
tpsdefault.cfg
+0
-10
tpsexcept.py
tpsexcept.py
+8
-8
No files found.
tp
s.sh
→
pt
s.sh
View file @
bab2219d
...
...
@@ -3,7 +3,7 @@
LOGDIR
=
./log
mkdir
-p
$LOGDIR
sudo rm
-fr
$LOGDIR
/
tp
s
*
sudo rm
-fr
$LOGDIR
/
pt
s
*
serial
=
$1
if
[
x
$1
=
x
""
]
;
then
...
...
@@ -28,7 +28,7 @@ echo -n "Press enter to continue...\n"
read
tmp
echo
-n
"--------------------------------------------------------------
\n
"
sudo
./
tp
s.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
sudo
./
pt
s.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 exit... "
...
...
tps.py
deleted
100755 → 0
View file @
f715c5d0
This diff is collapsed.
Click to expand it.
tpsdefault.cfg
deleted
100755 → 0
View file @
f715c5d0
[global]
board = SPEC
serial = 000000
extra-serial = 000000
test_path = tests/
log_path = logs/
sequence = ['00', '02', '03']
repeat = 10
randomize = True
tpsexcept.py
View file @
bab2219d
#! /usr/bin/env python
# coding: utf8
class
Tp
sException
(
Exception
):
class
Pt
sException
(
Exception
):
pass
class
TpsCritical
(
Tp
sException
):
class
PtsCritical
(
Pt
sException
):
"""critical error, abort the whole test suite"""
pass
class
TpsError
(
Tp
sException
):
class
PtsError
(
Pt
sException
):
"""error, continue remaining tests in test suite"""
pass
class
TpsUser
(
Tp
sException
):
class
PtsUser
(
Pt
sException
):
"""error, user intervention required"""
pass
class
TpsWarning
(
Tp
sException
):
class
PtsWarning
(
Pt
sException
):
"""warning, a cautionary message should be displayed"""
pass
class
TpsInvalid
(
Tp
sException
):
class
PtsInvalid
(
Pt
sException
):
"""reserved: invalid parameters"""
class
TpsNoBatch
(
Tp
sInvalid
):
class
PtsNoBatch
(
Pt
sInvalid
):
"""reserved: a suite was created without batch of tests to run"""
pass
class
TpsBadTestNo
(
Tp
sInvalid
):
class
PtsBadTestNo
(
Pt
sInvalid
):
"""reserved: a bad test number was given"""
pass
...
...
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