tests: Use errno value rather than a specific int
[vpp.git] / test / test_result_code.py
1 #!/usr/bin/python3
2
3 from enum import IntEnum, auto, unique
4
5
6 @unique
7 class TestResultCode(IntEnum):
8     PASS = auto()
9     FAIL = auto()
10     ERROR = auto()
11     SKIP = auto()
12     TEST_RUN = auto()
13     SKIP_CPU_SHORTAGE = auto()
14     EXPECTED_FAIL = auto()
15     UNEXPECTED_PASS = auto()