summaryrefslogtreecommitdiff
path: root/utils/bin
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2022-01-17 13:13:34 +0100
committerGitHub <[email protected]>2022-01-17 13:13:34 +0100
commit61caf62943d04b6bded6325d6d0fa4e7fbde343f (patch)
treeb7d0d61eba43d7bcc510ce32b9bffd128b289f41 /utils/bin
parent626343c2de0599d1129e1e6b70d62aacc56ab000 (diff)
refactor: remove unused outdated files (#2184)
Diffstat (limited to 'utils/bin')
-rw-r--r--utils/bin/test_runner.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/utils/bin/test_runner.sh b/utils/bin/test_runner.sh
deleted file mode 100644
index 5b7f81ac..00000000
--- a/utils/bin/test_runner.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env bash
-set -e
-
-export LUNARVIM_RUNTIME_DIR="${LUNARVIM_RUNTIME_DIR:-"$HOME/.local/share/lunarvim"}"
-
-export LVIM_TEST_ENV=true
-
-# we should start with an empty configuration
-TEST_BASE_DIR="$(mktemp -d)"
-
-export LUNARVIM_CONFIG_DIR="$TEST_BASE_DIR"
-export LUNARVIM_CACHE_DIR="$TEST_BASE_DIR"
-
-lvim() {
- nvim -u "$LUNARVIM_RUNTIME_DIR/lvim/tests/minimal_init.lua" --cmd "set runtimepath+=$LUNARVIM_RUNTIME_DIR/lvim" "$@"
-}
-
-if [ -n "$1" ]; then
- lvim --headless -c "lua require('plenary.busted').run('$1')"
-else
- lvim --headless -c "PlenaryBustedDirectory tests/specs { minimal_init = './tests/minimal_init.lua' }"
-fi
-
-rm -rf "$TEST_BASE_DIR"