aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_result_code.py
blob: 93e8324a5a84cb5f3bf16763603a6690900466c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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()