summaryrefslogtreecommitdiff
path: root/buildscripts/resmoke.py
diff options
context:
space:
mode:
authorRyan Timmons <ryan.timmons@mongodb.com>2020-05-13 14:35:29 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-05-13 18:53:52 +0000
commit29b8db71476ea59991c452ddd14db03e48ad47bc (patch)
treed6cd480aef8a1dbdca042d7d8d1c479787262a1e /buildscripts/resmoke.py
parent4b32770c6e77225d3d5cbd46359cf905d0ecd216 (diff)
downloadmongo-29b8db71476ea59991c452ddd14db03e48ad47bc.tar.gz
SERVER-47590 Add undodb Resmoke Subcommand
Diffstat (limited to 'buildscripts/resmoke.py')
-rwxr-xr-xbuildscripts/resmoke.py14
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)