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

Unified Diff: tools/bisect_utils.py

Issue 23447006: Skip the creation/sync step on the bot. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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
« no previous file with comments | « no previous file | tools/prepare-bisect-perf-regression.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bisect_utils.py
diff --git a/tools/bisect_utils.py b/tools/bisect_utils.py
index bdb1675be224255215e33fb39e49bd53289850cb..e9867dc3b35c09b5e327831ba8aeef5bd4de8634 100644
--- a/tools/bisect_utils.py
+++ b/tools/bisect_utils.py
@@ -426,6 +426,19 @@ def SetupPlatformBuildEnvironment(opts):
return True
+def CheckIfBisectDepotExists(opts):
+ """Checks if the bisect directory already exists.
+
+ Args:
+ opts: The options parsed from the command line through parse_args().
+
+ Returns:
+ Returns True if it exists.
+ """
+ path_to_dir = os.path.join(opts.working_directory, 'bisect', 'src')
+ return os.path.exists(path_to_dir)
+
+
def CreateBisectDirectoryAndSetupDepot(opts, custom_deps):
"""Sets up a subdirectory 'bisect' and then retrieves a copy of the depot
there using gclient.
« no previous file with comments | « no previous file | tools/prepare-bisect-perf-regression.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698