Mercurial > vim
diff src/testdir/Make_dos.mak @ 18404:b1a10a018f83 v8.1.2196
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Commit: https://github.com/vim/vim/commit/d53ebfc6246b2f29752adbda13cd2c11acca285a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 20 21:47:20 2019 +0200
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
Problem: MS-Windows: running tests with MSVC lacks updates.
Solution: Improve running individual tests on MS-Windows. (closes https://github.com/vim/vim/issues/4922)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 20 Oct 2019 22:00:03 +0200 |
parents | 8e10cabcde8a |
children | 41b2506c7662 |
line wrap: on
line diff
--- a/src/testdir/Make_dos.mak +++ b/src/testdir/Make_dos.mak @@ -69,9 +69,14 @@ win32: nolog $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) $(NEW_TESTS_RES): $(SCRIPTS_FIRST) report: - @echo "" + @rem without the +eval feature test_result.log is a copy of test.log + @if exist test.log ( copy /y test.log test_result.log > nul ) \ + else ( echo No failures reported > test_result.log ) + $(VIMPROG) -u NONE $(NO_INITS) -S summarize.vim messages + @echo. @echo Test results: - @if exist test.log ( type test.log & echo TEST FAILURE & exit /b 1 ) \ + @type test_result.log + @if exist test.log ( echo TEST FAILURE & exit /b 1 ) \ else ( echo ALL DONE ) clean: @@ -92,12 +97,14 @@ clean: -for /d %i in (X*) do @rmdir /s/q %i -if exist viminfo del viminfo -if exist test.log del test.log + -if exist test_result.log del test_result.log -if exist messages del messages -if exist benchmark.out del benchmark.out -if exist opt_test.vim del opt_test.vim nolog: -if exist test.log del test.log + -if exist test_result.log del test_result.log -if exist messages del messages benchmark: