Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
18403:991d8bbaba1a | 18404:b1a10a018f83 |
---|---|
67 # This rule must come after the one that copies the input files to dostmp to | 67 # This rule must come after the one that copies the input files to dostmp to |
68 # allow for running an individual test. | 68 # allow for running an individual test. |
69 $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) $(NEW_TESTS_RES): $(SCRIPTS_FIRST) | 69 $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) $(NEW_TESTS_RES): $(SCRIPTS_FIRST) |
70 | 70 |
71 report: | 71 report: |
72 @echo "" | 72 @rem without the +eval feature test_result.log is a copy of test.log |
73 @if exist test.log ( copy /y test.log test_result.log > nul ) \ | |
74 else ( echo No failures reported > test_result.log ) | |
75 $(VIMPROG) -u NONE $(NO_INITS) -S summarize.vim messages | |
76 @echo. | |
73 @echo Test results: | 77 @echo Test results: |
74 @if exist test.log ( type test.log & echo TEST FAILURE & exit /b 1 ) \ | 78 @type test_result.log |
79 @if exist test.log ( echo TEST FAILURE & exit /b 1 ) \ | |
75 else ( echo ALL DONE ) | 80 else ( echo ALL DONE ) |
76 | 81 |
77 clean: | 82 clean: |
78 -del *.out | 83 -del *.out |
79 -del *.failed | 84 -del *.failed |
90 -if exist XfakeHOME rd /s /q XfakeHOME | 95 -if exist XfakeHOME rd /s /q XfakeHOME |
91 -del X* | 96 -del X* |
92 -for /d %i in (X*) do @rmdir /s/q %i | 97 -for /d %i in (X*) do @rmdir /s/q %i |
93 -if exist viminfo del viminfo | 98 -if exist viminfo del viminfo |
94 -if exist test.log del test.log | 99 -if exist test.log del test.log |
100 -if exist test_result.log del test_result.log | |
95 -if exist messages del messages | 101 -if exist messages del messages |
96 -if exist benchmark.out del benchmark.out | 102 -if exist benchmark.out del benchmark.out |
97 -if exist opt_test.vim del opt_test.vim | 103 -if exist opt_test.vim del opt_test.vim |
98 | 104 |
99 nolog: | 105 nolog: |
100 -if exist test.log del test.log | 106 -if exist test.log del test.log |
107 -if exist test_result.log del test_result.log | |
101 -if exist messages del messages | 108 -if exist messages del messages |
102 | 109 |
103 benchmark: | 110 benchmark: |
104 bench_re_freeze.out | 111 bench_re_freeze.out |
105 | 112 |