mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-24 00:17:37 +01:00
f9d6427d64
GitOrigin-RevId: e992bd8c5ca99db8e65951aa094fc47ca5e7a0e6
22 lines
519 B
Python
Executable File
22 lines
519 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""Command line utility for executing MongoDB tests of all kinds."""
|
|
|
|
import os.path
|
|
import sys
|
|
|
|
# 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 cli
|
|
|
|
|
|
# Entrypoint
|
|
def entrypoint():
|
|
cli.main(sys.argv)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
entrypoint()
|