Przeglądaj źródła

When running the tests, invoke Vim with the --not-a-term argument

Yegappan Lakshmanan 4 lat temu
rodzic
commit
4b5d413c1f
2 zmienionych plików z 3 dodań i 2 usunięć
  1. 1 1
      test/run_mru_tests.cmd
  2. 2 1
      test/run_mru_tests.sh

+ 1 - 1
test/run_mru_tests.cmd

@@ -6,7 +6,7 @@ SETLOCAL
 SET VIMPRG="vim.exe"
 REM SET VIMPRG="C:\Program Files (x86)\vim\vim82\vim.exe"
 REM SET VIMPRG="C:\Program Files (x86)\vim\vim73\vim.exe"
-SET VIM_CMD=%VIMPRG% -N -u NONE -U NONE -i NONE
+SET VIM_CMD=%VIMPRG% -N -u NONE -U NONE -i NONE --not-a-term
 
 %VIM_CMD% -S unit_tests.vim
 

+ 2 - 1
test/run_mru_tests.sh

@@ -3,7 +3,8 @@
 # Script to run the unit-tests for the MRU Vim plugin
 
 VIMPRG=${VIMPRG:=/usr/bin/vim}
-VIM_CMD="$VIMPRG -N -u NONE -U NONE -i NONE"
+#VIMPRG=/home/yega/Documents/vim/vim7.4/vim/src/vim
+VIM_CMD="$VIMPRG -N -u NONE -U NONE -i NONE --not-a-term"
 
 $VIM_CMD -S unit_tests.vim