summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2018-09-19 17:58:55 -0700
committerGitHub <noreply@github.com>2018-09-19 17:58:55 -0700
commitf3d1f9544ba67785e787ea303f81db74603780eb (patch)
tree239af01a2d8abbc6c658bd6a831ffa4aff4bbdce /bin
parent582a4dfa13fd1ebca9132892de79d8ea5866ae91 (diff)
downloadansible-f3d1f9544ba67785e787ea303f81db74603780eb.tar.gz
Make ansible-test available in the bin directory. (#45876)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ansible-test15
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/ansible-test b/bin/ansible-test
new file mode 100755
index 0000000000..aa1c3da47b
--- /dev/null
+++ b/bin/ansible-test
@@ -0,0 +1,15 @@
+#!/usr/bin/env python
+# PYTHON_ARGCOMPLETE_OK
+"""Primary entry point for ansible-test."""
+
+from __future__ import (absolute_import, division, print_function)
+
+__metaclass__ = type
+
+import os
+import sys
+
+if __name__ == '__main__':
+ sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)), 'test', 'runner')))
+ import lib.cli
+ lib.cli.main()