0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00
Files
vim/runtime/indent/Make_mvc.mak
RestorerZ e34bdb844f patch 9.1.1675: MS-Windows: Makefiles can be refactored
Problem:  MS-Windows: Makefiles can be refactored
Solution: Refactor using a common tools.mak, make some style changes
          (RestorerZ).

closes: #18060

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-08-23 17:00:17 +02:00

41 lines
1.0 KiB
Makefile

#
# Makefile for running indent tests on OS Windows.
# Made on the base of a indent/Makefile.
# 2024-03-13, Restorer
#
# included common tools
!INCLUDE ..\..\src\auto\nmake\tools.mak
LSFLAGS = /A:-D /B /O:N /L /S
.SUFFIXES:
VIMPROG = ..\..\src\vim.exe
VIMRUNTIME = ..
# Run the tests that didn't run yet or failed previously.
# If a test succeeds a testdir\*.out file will be written.
# If a test fails a testdir\*.fail file will be written.
test :
@ set "VIMRUNTIME=$(VIMRUNTIME)"
@ $(VIMPROG) --clean --not-a-term -u testdir\runtest.vim && \
(echo:&echo: INDENT TESTS: DONE &echo:) || \
<<echofail.bat
set "retval=%ERRORLEVEL%"
@echo off
echo:&echo: INDENT TESTS: FAILED
for /F %%G in ('2^> nul $(LS) $(LSFLAGS) testdir\*.fail') do (
call set "fail=%%fail%% %%G")
if defined fail (
for %%G in (%fail%) do @(echo:&echo: %%~nxG:&echo: && type %%G)
)
exit /B %retval%
<<
clean testclean :
@ if exist testdir\*.fail $(RM) testdir\*.fail
@ if exist testdir\*.out $(RM) testdir\*.out
# vim: set noet sw=8 ts=8 sts=0 wm=0 tw=79 ft=make: