aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorHirokazu Hata <h.hata.ai.t@gmail.com>2020-05-23 13:45:17 +0900
committerGitHub <noreply@github.com>2020-05-23 13:45:17 +0900
commit169a1cf891ae7c84cb8dd192efade6d9f08ac841 (patch)
tree288ac8f12312dde4a780bc1f1a51290a1b3028dd /scripts
parent[docgen] Update README.md (diff)
parentgithub action: add test for macos (diff)
downloadnvim-lspconfig-169a1cf891ae7c84cb8dd192efade6d9f08ac841.tar
nvim-lspconfig-169a1cf891ae7c84cb8dd192efade6d9f08ac841.tar.gz
nvim-lspconfig-169a1cf891ae7c84cb8dd192efade6d9f08ac841.tar.bz2
nvim-lspconfig-169a1cf891ae7c84cb8dd192efade6d9f08ac841.tar.lz
nvim-lspconfig-169a1cf891ae7c84cb8dd192efade6d9f08ac841.tar.xz
nvim-lspconfig-169a1cf891ae7c84cb8dd192efade6d9f08ac841.tar.zst
nvim-lspconfig-169a1cf891ae7c84cb8dd192efade6d9f08ac841.zip
Merge pull request #244 from h-michael/test
Add execution environment of test
Diffstat (limited to 'scripts')
-rw-r--r--scripts/run_test.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/run_test.sh b/scripts/run_test.sh
new file mode 100644
index 00000000..164a4392
--- /dev/null
+++ b/scripts/run_test.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+PJ_ROOT=$(pwd)
+
+if [ ! -d ./neovim ]; then
+ git clone --depth 1 https://github.com/neovim/neovim
+fi
+
+cd ./neovim
+
+make functionaltest \
+ BUSTED_ARGS="--lpath=$PJ_ROOT/?.lua --lpath=$PJ_ROOT/lua/?.lua --lpath=$PJ_ROOT/lua/nvim_lsp/?.lua" \
+ TEST_FILE="../test/nvim_lsp_spec.lua"