aboutsummaryrefslogtreecommitdiff
path: root/catapult/common/py_utils/py_utils/constants/exit_codes.py
diff options
context:
space:
mode:
Diffstat (limited to 'catapult/common/py_utils/py_utils/constants/exit_codes.py')
-rw-r--r--catapult/common/py_utils/py_utils/constants/exit_codes.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/catapult/common/py_utils/py_utils/constants/exit_codes.py b/catapult/common/py_utils/py_utils/constants/exit_codes.py
new file mode 100644
index 00000000..9eaac5c6
--- /dev/null
+++ b/catapult/common/py_utils/py_utils/constants/exit_codes.py
@@ -0,0 +1,13 @@
+# Copyright 2019 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# Lint as: python3
+"""Common exit codes for catapult tools."""
+
+SUCCESS = 0
+TEST_FAILURE = 1
+FATAL_ERROR = 2
+# See crbug.com/1019139#c8 for history on this exit code.
+# Note that some test runners (for example: typ) may continue to return SUCCESS
+# for cases where all tests are skipped.
+ALL_TESTS_SKIPPED = 111