diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2017-12-08 10:42:30 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-12-10 02:45:41 +0100 |
commit | 4a5bc6275d09056ff0ccf5a29a878d48bbe58655 (patch) | |
tree | b39c815b0eb8dee50e2bc5198b751cb96b470821 /src | |
parent | 3cc7ebf8107bddb42a566ede4c2a51818ff623c5 (diff) | |
download | rneovim-4a5bc6275d09056ff0ccf5a29a878d48bbe58655.tar.gz rneovim-4a5bc6275d09056ff0ccf5a29a878d48bbe58655.tar.bz2 rneovim-4a5bc6275d09056ff0ccf5a29a878d48bbe58655.zip |
ci: run oldtests in Appveyor #7705
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/Makefile | 20 | ||||
-rw-r--r-- | src/nvim/testdir/unix.vim | 6 |
2 files changed, 21 insertions, 5 deletions
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile index 111bd172ef..e1faaccb84 100644 --- a/src/nvim/testdir/Makefile +++ b/src/nvim/testdir/Makefile @@ -2,7 +2,11 @@ # Makefile to run all tests for Vim # -NVIM_PRG ?= ../../../build/bin/nvim +ifeq ($(OS),Windows_NT) + NVIM_PRG ?= ../../../build/bin/nvim.exe +else + NVIM_PRG ?= ../../../build/bin/nvim +endif TMPDIR ?= Xtest-tmpdir SCRIPTSOURCE := ../../../runtime @@ -10,12 +14,9 @@ export SHELL := sh export NVIM_PRG := $(NVIM_PRG) export TMPDIR -SCRIPTS ?= \ - test13.out \ +SCRIPTS_DEFAULT = \ test14.out \ - test17.out \ test24.out \ - test32.out \ test37.out \ test40.out \ test42.out \ @@ -27,6 +28,15 @@ SCRIPTS ?= \ test73.out \ test79.out \ +ifneq ($(OS),Windows_NT) + SCRIPTS_DEFAULTS := $(SCRIPTS_DEFAULT) \ + test17.out \ + test32.out \ + +endif + +SCRIPTS ?= $(SCRIPTS_DEFAULT) + # Tests using runtest.vim. # Keep test_alot*.res as the last one, sort the others. NEW_TESTS ?= \ diff --git a/src/nvim/testdir/unix.vim b/src/nvim/testdir/unix.vim index a7daacf8cf..ce2beff7fe 100644 --- a/src/nvim/testdir/unix.vim +++ b/src/nvim/testdir/unix.vim @@ -2,6 +2,12 @@ " Always use "sh", don't use the value of "$SHELL". set shell=sh +if has('win32') + set shellcmdflag=-c shellxquote= shellxescape= shellquote= + let &shellredir = '>%s 2>&1' + set shellslash +endif + " Don't depend on system locale, always use utf-8 set encoding=utf-8 |