diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-09-10 16:26:04 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-09-10 16:26:04 +0000 |
commit | f2e53dada855daf94c9dc1b6a9d7035961d21033 (patch) | |
tree | c4755fb4e4a09429bea52790ac7c790c8f2a5470 /src/testdir | |
parent | 6cad8bd4b03165660b5d9396da83c5446dd8fcc7 (diff) |
updated for version 7.2-015v7.2.015
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/testdir/Makefile b/src/testdir/Makefile index c7d1b39fb7..3528bf6f3f 100644 --- a/src/testdir/Makefile +++ b/src/testdir/Makefile @@ -26,15 +26,17 @@ SCRIPTS_GUI = test16.out .SUFFIXES: .in .out -nongui: nolog $(SCRIPTS) - @echo - @cat test.log - @echo ALL DONE +nongui: nolog $(SCRIPTS) report + +gui: nolog $(SCRIPTS) $(SCRIPTS_GUI) report -gui: nolog $(SCRIPTS) $(SCRIPTS_GUI) +report: @echo - @cat test.log - @echo ALL DONE + @echo 'Test results:' + @/bin/sh -c "if test -f test.log; \ + then cat test.log; echo TEST FAILURE; exit 1; \ + else echo ALL DONE; \ + fi" $(SCRIPTS) $(SCRIPTS_GUI): $(VIMPROG) @@ -71,4 +73,4 @@ test49.out: test49.vim test60.out: test60.vim nolog: - -echo Test results: >test.log + -rm -f test.log |