tps: change tps for pts (Production Test Suite). Added license

parent f715c5d0
......@@ -3,7 +3,7 @@
LOGDIR=./log
mkdir -p $LOGDIR
sudo rm -fr $LOGDIR/tps*
sudo rm -fr $LOGDIR/pts*
serial=$1
if [ x$1 = x"" ]; then
......@@ -28,7 +28,7 @@ echo -n "Press enter to continue...\n"
read tmp
echo -n "--------------------------------------------------------------\n"
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
sudo ./pts.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... "
......
This diff is collapsed.
[global]
board = SPEC
serial = 000000
extra-serial = 000000
test_path = tests/
log_path = logs/
sequence = ['00', '02', '03']
repeat = 10
randomize = True
#! /usr/bin/env python
# coding: utf8
class TpsException(Exception):
class PtsException(Exception):
pass
class TpsCritical(TpsException):
class PtsCritical(PtsException):
"""critical error, abort the whole test suite"""
pass
class TpsError(TpsException):
class PtsError(PtsException):
"""error, continue remaining tests in test suite"""
pass
class TpsUser(TpsException):
class PtsUser(PtsException):
"""error, user intervention required"""
pass
class TpsWarning(TpsException):
class PtsWarning(PtsException):
"""warning, a cautionary message should be displayed"""
pass
class TpsInvalid(TpsException):
class PtsInvalid(PtsException):
"""reserved: invalid parameters"""
class TpsNoBatch(TpsInvalid):
class PtsNoBatch(PtsInvalid):
"""reserved: a suite was created without batch of tests to run"""
pass
class TpsBadTestNo(TpsInvalid):
class PtsBadTestNo(PtsInvalid):
"""reserved: a bad test number was given"""
pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment