summaryrefslogtreecommitdiff
path: root/buildscripts/resmoke.py
blob: 4f45b893ea74c69f0ec454679799a45247b995e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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
import buildscripts.resmokelib.cli as cli


def entrypoint():
    cli.main(sys.argv)


if __name__ == "__main__":
    entrypoint()