DescriptionRefactoring auto-bisect bot
- BisectPerformanceMetrics class:
- Added src_cwd to constructor to allow easier mocking.
Using os.getcwd() creates non-obvious expectations from
the caller.
- Exposed printer field to allow it being reused outside.
- Added a comment explaining arguments to the constructor.
- BisectOptions class:
- Changed from deprecated optparse to argparse
- Split _CreateCommandLineParser
- Moved logic from ParseCommandLine to argparse where
possible
- Removed code related to ChromeOS
BUG=425652
R=qyearsley@chromium.org
CC=ojan@chromium.org
Committed: https://crrev.com/9cf2803cdd2ae9bb74a2e42231d9bcb1f8b8e4f5
Cr-Commit-Position: refs/heads/master@{#302256}
Patch Set 1 #Patch Set 2 : Refactored BisectOptions #Patch Set 3 : Removed code related to ChromeOS #Patch Set 4 : Rebase #
Messages
Total messages: 7 (1 generated)
|