From fa9f76db81b21242e10dacf495a0bc365605e2e2 Mon Sep 17 00:00:00 2001 From: Hirokazu Hata Date: Tue, 19 May 2020 19:43:47 +0900 Subject: test: add test runner script --- scripts/run_test.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 scripts/run_test.sh (limited to 'scripts') 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" -- cgit v1.2.3-70-g09d2