nvim-nim/other/run_tests.sh
2016-02-07 23:50:18 +02:00

11 lines
172 B
Bash
Executable file

#!/bin/bash
export NVIM_LISTEN_ADDRESS="/tmp/nvim"
nvim --headless&
nvimpid=$!
sleep 2
sh -c "py.test -v tests/vim/**.py"
haderr=$?
sleep 1
kill $nvimpid
wait
exit $haderr