diff options
author | Ryan Timmons <ryan.timmons@mongodb.com> | 2020-05-13 14:35:29 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-13 18:53:52 +0000 |
commit | 29b8db71476ea59991c452ddd14db03e48ad47bc (patch) | |
tree | d6cd480aef8a1dbdca042d7d8d1c479787262a1e /buildscripts/resmoke.py | |
parent | 4b32770c6e77225d3d5cbd46359cf905d0ecd216 (diff) | |
download | mongo-29b8db71476ea59991c452ddd14db03e48ad47bc.tar.gz |
SERVER-47590 Add undodb Resmoke Subcommand
Diffstat (limited to 'buildscripts/resmoke.py')
-rwxr-xr-x | buildscripts/resmoke.py | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/buildscripts/resmoke.py b/buildscripts/resmoke.py index 9cc54d5c5f3..7df5dcc28e5 100755 --- a/buildscripts/resmoke.py +++ b/buildscripts/resmoke.py @@ -3,22 +3,12 @@ import os.path import sys -import time # Get relative imports to work when the package is not installed on the PYTHONPATH. if __name__ == "__main__" and __package__ is None: sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) # pylint: disable=wrong-import-position -from buildscripts.resmokelib import parser +import buildscripts.resmokelib.cli as cli - -def main(): - """Execute Main function for resmoke.""" - __start_time = time.time() - subcommand = parser.parse_command_line(sys.argv[1:], start_time=__start_time) - subcommand.execute() - - -if __name__ == "__main__": - main() +cli.main(sys.argv) |