diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-11 17:30:16 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-11 17:30:16 +0100 |
commit | ec50401e1e1357a1340b3c92109fd4860e38a8ac (patch) | |
tree | 4e2437694f097dc4c34a88f10d3ae5701c048d15 /src/Makefile | |
parent | 977239ef52763b6e640ac632c53a57ee17e05eaa (diff) | |
download | vim-git-ec50401e1e1357a1340b3c92109fd4860e38a8ac.tar.gz |
patch 8.1.0723: cannot easily run specific test when in src/testdirv8.1.0723
Problem: Cannot run specific test when in src/testdir the same was as in
the src directory.
Solution: Move build rule to src/testdir/Makefile.
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/Makefile b/src/Makefile index 7e2a843de..e00c573b3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1565,9 +1565,12 @@ DEST_MAN_PL_U = $(DEST_MAN_TOP)/pl.UTF-8$(MAN1DIR) DEST_MAN_RU = $(DEST_MAN_TOP)/ru.KOI8-R$(MAN1DIR) DEST_MAN_RU_U = $(DEST_MAN_TOP)/ru.UTF-8$(MAN1DIR) -# The list of tests is common to all systems. +# stuff common to all systems include Make_all.mak +# get the list of tests +include testdir/Make_all.mak + # BASIC_SRC: files that are always used # GUI_SRC: extra GUI files for current configuration # ALL_GUI_SRC: all GUI files for Unix @@ -2184,11 +2187,7 @@ test1 \ # Run individual NEW style test. # These do not depend on the executable, compile it when needed. $(NEW_TESTS): - cd testdir; rm -f $@.res test.log messages; $(MAKE) -f Makefile $@.res VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) - @if test -f testdir/test.log; then \ - cat testdir/test.log; \ - fi - cat testdir/messages + cd testdir; $(MAKE) $@ VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) newtests: cd testdir; rm -f $@.res test.log messages; $(MAKE) -f Makefile newtestssilent VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) |