Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: scripts/slave/recipe_modules/auto_bisect_staging/bisect_exceptions.py

Issue 2247373002: Refactor stages 1, 2 and test_api overhaul. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Relative intra-module imports. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/auto_bisect_staging/bisect_exceptions.py
diff --git a/scripts/slave/recipe_modules/auto_bisect_staging/bisect_exceptions.py b/scripts/slave/recipe_modules/auto_bisect_staging/bisect_exceptions.py
new file mode 100644
index 0000000000000000000000000000000000000000..546474334cc05af9f96496d3abc8c89275b1afb0
--- /dev/null
+++ b/scripts/slave/recipe_modules/auto_bisect_staging/bisect_exceptions.py
@@ -0,0 +1,16 @@
+# Copyright 2016 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.
+
+"""Custom exceptions for bisect."""
+
+class BisectException(Exception):
+ pass
+
+class InconclusiveBisectException(BisectException):
+ """To be raised when a bisect cannot identify a culprit"""
+ pass
+
+class UntestableRevisionException(BisectException):
+ """When a specific revision cannot be built or tested."""
+ pass
« no previous file with comments | « scripts/slave/recipe_modules/auto_bisect_staging/api.py ('k') | scripts/slave/recipe_modules/auto_bisect_staging/bisector.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698