summaryrefslogtreecommitdiffstats
path: root/test/test_result_code.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_result_code.py')
-rw-r--r--test/test_result_code.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/test_result_code.py b/test/test_result_code.py
new file mode 100644
index 00000000000..93e8324a5a8
--- /dev/null
+++ b/test/test_result_code.py
@@ -0,0 +1,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()