aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-07-12 15:15:15 +0200
committerGitHub <noreply@github.com>2019-07-12 15:15:15 +0200
commitec66d2eecd544f764ff73a3f4aa472f188d2fea6 (patch)
tree5ccefb5cdd21a251f2b61f35dc50048a0e010742
parentdd94165f4ea9bbd36f382ff28adc29778411f810 (diff)
downloadrneovim-ec66d2eecd544f764ff73a3f4aa472f188d2fea6.tar.gz
rneovim-ec66d2eecd544f764ff73a3f4aa472f188d2fea6.tar.bz2
rneovim-ec66d2eecd544f764ff73a3f4aa472f188d2fea6.zip
oldtest: more compact output with "clean" target (#10477)
Previously it would be displayed across multiple lines (with the escaped newlines), while this makes it display in a single line.
-rw-r--r--src/nvim/testdir/Makefile33
1 files changed, 17 insertions, 16 deletions
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile
index fe9e0bc9c8..8b43d91e25 100644
--- a/src/nvim/testdir/Makefile
+++ b/src/nvim/testdir/Makefile
@@ -99,23 +99,24 @@ RM_ON_RUN := test.out X* viminfo
RM_ON_START := test.ok
RUN_VIM := $(TOOL) $(NVIM_PRG) -u unix.vim -U NONE -i viminfo --headless --noplugin -s dotest.in
+CLEAN_FILES := *.out \
+ *.failed \
+ *.res \
+ *.rej \
+ *.orig \
+ *.tlog \
+ test.log \
+ messages \
+ $(RM_ON_RUN) \
+ $(RM_ON_START) \
+ valgrind.* \
+ .*.swp \
+ .*.swo \
+ .gdbinit \
+ $(TMPDIR) \
+ del
clean:
- -rm -rf *.out \
- *.failed \
- *.res \
- *.rej \
- *.orig \
- *.tlog \
- test.log \
- messages \
- $(RM_ON_RUN) \
- $(RM_ON_START) \
- valgrind.* \
- .*.swp \
- .*.swo \
- .gdbinit \
- $(TMPDIR) \
- del
+ $(RM) -rf $(CLEAN_FILES)
test1.out: .gdbinit test1.in
@echo "[OLDTEST-PREP] Running test1"