Mercurial > vim
comparison src/Makefile @ 15430:d94901eeb762 v8.1.0723
patch 8.1.0723: cannot easily run specific test when in src/testdir
commit https://github.com/vim/vim/commit/ec50401e1e1357a1340b3c92109fd4860e38a8ac
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 11 17:30:16 2019 +0100
patch 8.1.0723: cannot easily run specific test when in src/testdir
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 11 Jan 2019 17:45:05 +0100 |
parents | a6330a49e036 |
children | bb421f682528 |
comparison
equal
deleted
inserted
replaced
15429:166f78185f87 | 15430:d94901eeb762 |
---|---|
1563 DEST_MAN_PL_I = $(DEST_MAN_TOP)/pl.ISO8859-2$(MAN1DIR) | 1563 DEST_MAN_PL_I = $(DEST_MAN_TOP)/pl.ISO8859-2$(MAN1DIR) |
1564 DEST_MAN_PL_U = $(DEST_MAN_TOP)/pl.UTF-8$(MAN1DIR) | 1564 DEST_MAN_PL_U = $(DEST_MAN_TOP)/pl.UTF-8$(MAN1DIR) |
1565 DEST_MAN_RU = $(DEST_MAN_TOP)/ru.KOI8-R$(MAN1DIR) | 1565 DEST_MAN_RU = $(DEST_MAN_TOP)/ru.KOI8-R$(MAN1DIR) |
1566 DEST_MAN_RU_U = $(DEST_MAN_TOP)/ru.UTF-8$(MAN1DIR) | 1566 DEST_MAN_RU_U = $(DEST_MAN_TOP)/ru.UTF-8$(MAN1DIR) |
1567 | 1567 |
1568 # The list of tests is common to all systems. | 1568 # stuff common to all systems |
1569 include Make_all.mak | 1569 include Make_all.mak |
1570 | |
1571 # get the list of tests | |
1572 include testdir/Make_all.mak | |
1570 | 1573 |
1571 # BASIC_SRC: files that are always used | 1574 # BASIC_SRC: files that are always used |
1572 # GUI_SRC: extra GUI files for current configuration | 1575 # GUI_SRC: extra GUI files for current configuration |
1573 # ALL_GUI_SRC: all GUI files for Unix | 1576 # ALL_GUI_SRC: all GUI files for Unix |
1574 # | 1577 # |
2182 cd testdir; rm -f $@.out; $(MAKE) -f Makefile $@.out VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) | 2185 cd testdir; rm -f $@.out; $(MAKE) -f Makefile $@.out VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) |
2183 | 2186 |
2184 # Run individual NEW style test. | 2187 # Run individual NEW style test. |
2185 # These do not depend on the executable, compile it when needed. | 2188 # These do not depend on the executable, compile it when needed. |
2186 $(NEW_TESTS): | 2189 $(NEW_TESTS): |
2187 cd testdir; rm -f $@.res test.log messages; $(MAKE) -f Makefile $@.res VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) | 2190 cd testdir; $(MAKE) $@ VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) |
2188 @if test -f testdir/test.log; then \ | |
2189 cat testdir/test.log; \ | |
2190 fi | |
2191 cat testdir/messages | |
2192 | 2191 |
2193 newtests: | 2192 newtests: |
2194 cd testdir; rm -f $@.res test.log messages; $(MAKE) -f Makefile newtestssilent VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) | 2193 cd testdir; rm -f $@.res test.log messages; $(MAKE) -f Makefile newtestssilent VIMPROG=../$(VIMTESTTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) |
2195 @if test -f testdir/test.log; then \ | 2194 @if test -f testdir/test.log; then \ |
2196 cat testdir/test.log; \ | 2195 cat testdir/test.log; \ |