47f3527108
- Add support for @unittest.expectedFailure decorator. Type: improvement Signed-off-by: Klement Sekera <klement.sekera@gmail.com> Change-Id: I761751cda505e962225dc680b97c1fffa96f5176 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
16 lines
282 B
Python
16 lines
282 B
Python
#!/usr/bin/python3
|
|
|
|
from enum import IntEnum, auto, unique
|
|
|
|
|
|
@unique
|
|
class TestResultCode(IntEnum):
|
|
PASS = auto()
|
|
FAIL = auto()
|
|
ERROR = auto()
|
|
SKIP = auto()
|
|
TEST_RUN = auto()
|
|
SKIP_CPU_SHORTAGE = auto()
|
|
EXPECTED_FAIL = auto()
|
|
UNEXPECTED_PASS = auto()
|