aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-11-20 23:19:57 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-11-22 20:10:12 -0500
commita6714cf35cb2e93775ce42200d472b5622926a89 (patch)
tree86d6aa26ca0b9f5dfcd3825066492df6d4a1f9cc
parent8969efca8c8a4e2e2894e87e6f3236df9d96d665 (diff)
downloadrneovim-a6714cf35cb2e93775ce42200d472b5622926a89.tar.gz
rneovim-a6714cf35cb2e93775ce42200d472b5622926a89.tar.bz2
rneovim-a6714cf35cb2e93775ce42200d472b5622926a89.zip
vim-patch:8.1.1490: when a single test fails the exit code is not set
Problem: When a single test fails the exit code is not set. (Daniel Hahler) Solution: Add an exit command. (closes vim/vim#4506) https://github.com/vim/vim/commit/4e0bf846279f3efa6299a98143033db1fdfa143a
-rw-r--r--src/nvim/testdir/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile
index b828167fcb..f46cc97a20 100644
--- a/src/nvim/testdir/Makefile
+++ b/src/nvim/testdir/Makefile
@@ -118,10 +118,10 @@ fixff:
$(NEW_TESTS):
rm -f $@.res test.log messages
$(MAKE) -f Makefile $@.res
+ cat messages
@if test -f test.log; then \
- cat test.log; \
+ exit 1; \
fi
- cat messages
RM_ON_RUN := test.out X* viminfo
RM_ON_START := test.ok