.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-python / pythonFiles / testing_tools / run_adapter.py
diff --git a/.config/coc/extensions/node_modules/coc-python/pythonFiles/testing_tools/run_adapter.py b/.config/coc/extensions/node_modules/coc-python/pythonFiles/testing_tools/run_adapter.py
new file mode 100644 (file)
index 0000000..d21f3ef
--- /dev/null
@@ -0,0 +1,16 @@
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License.
+
+# Replace the "." entry.
+import os.path
+import sys
+sys.path[0] = os.path.dirname(
+    os.path.dirname(
+        os.path.abspath(__file__)))
+
+from testing_tools.adapter.__main__ import parse_args, main
+
+
+if __name__ == '__main__':
+    tool, cmd, subargs, toolargs = parse_args()
+    main(tool, cmd, subargs, toolargs)