ci: run oldtests in Appveyor #7705

This commit is contained in:
Jan Edmund Lazo 2017-12-08 10:42:30 -05:00 committed by Justin M. Keyes
parent 3cc7ebf810
commit 4a5bc6275d
3 changed files with 27 additions and 5 deletions

View File

@ -53,6 +53,12 @@ bin\nvim --version || goto :error
:: Functional tests
mingw32-make functionaltest VERBOSE=1 || goto :error
:: Old tests
setlocal
set PATH=%PATH%;C:\msys64\usr\bin
mingw32-make -C "%~dp0\..\src\nvim\testdir" VERBOSE=1
endlocal
if defined USE_GCOV (
C:\msys64\usr\bin\bash -lc "cd /c/projects/neovim; bash <(curl -s https://codecov.io/bash) || echo 'codecov upload failed.'"
)

View File

@ -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 ?= \

View File

@ -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