Hi, I made an additional patch for Make_dos.mak.
* Create "test??.failed" when a test fails like Unix does. * Clean some temporary files and directories. * Don't show some unnecessary error messages such as "file not found". Thanks, Ken Takata -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
# HG changeset patch # Parent 5b625df460eaca049ad9f10e1dc2600f2e7c7cdc diff --git a/src/testdir/Make_dos.mak b/src/testdir/Make_dos.mak --- a/src/testdir/Make_dos.mak +++ b/src/testdir/Make_dos.mak @@ -61,6 +61,7 @@ clean: -del *.out + -del *.failed -if exist test.ok del test.ok -if exist small.vim del small.vim -if exist tiny.vim del tiny.vim @@ -68,18 +69,22 @@ -if exist mzscheme.vim del mzscheme.vim -if exist lua.vim del lua.vim -del X* + -if exist Xdir1 rd /s /q Xdir1 + -if exist Xfind rd /s /q Xfind -if exist viminfo del viminfo -del test.log .in.out: + -if exist $*.failed del $*.failed copy $*.ok test.ok $(VIMPROG) -u dos.vim -U NONE --noplugin -s dotest.in $*.in - @diff test.out $*.ok & if errorlevel 1 (echo $* FAILED >> test.log ) \ - else ( del /F $*.out & rename test.out $*.out ) + @diff test.out $*.ok & if errorlevel 1 \ + ( move /y test.out $*.failed & echo $* FAILED >> test.log ) \ + else ( move /y test.out $*.out ) -del X* - -del X*.* -del test.ok - -rd /s /q Xfind + -if exist Xdir1 rd /s /q Xdir1 + -if exist Xfind rd /s /q Xfind -if exist viminfo del viminfo nolog:
