diff options
author | kylo252 <[email protected]> | 2022-01-24 12:51:16 +0100 |
---|---|---|
committer | kylo252 <[email protected]> | 2022-01-24 12:51:16 +0100 |
commit | 440324996c37591be74344b17f8450662dac4759 (patch) | |
tree | 67afdc4268d056aadb79278a72ca0b57910950d7 /utils/bin | |
parent | 7125e2b2d83db53e441de406445639bf1a49252d (diff) | |
parent | 269a35d1849a23a27a215e5b3c7b12e49066852f (diff) |
Merge branch 'rolling'
Diffstat (limited to 'utils/bin')
-rw-r--r-- | utils/bin/test_runner.sh | 24 |
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" |