# HG changeset patch # User Bram Moolenaar # Date 1544887806 -3600 # Node ID 963c1967f91753b21115199c60dc2668a96ea5a8 # Parent 0bc21915ee7ce66ee7fe0ae99793c55cf7ffa112 patch 8.1.0597: cannot run test_libvterm from the top directory commit https://github.com/vim/vim/commit/acecb3b9359dced16b471b9950594394183c503a Author: Bram Moolenaar Date: Sat Dec 15 16:19:50 2018 +0100 patch 8.1.0597: cannot run test_libvterm from the top directory Problem: Cannot run test_libvterm from the top directory. Solution: Add test target in toplevel Makefile. diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ first: # Some make programs use the last target for the $@ default; put the other # targets separately to always let $@ expand to "first" by default. -all install uninstall tools config configure reconfig proto depend lint tags types test scripttests unittests testclean clean distclean: +all install uninstall tools config configure reconfig proto depend lint tags types test scripttests test_libvterm unittests testclean clean distclean: @if test ! -f src/auto/config.mk; then \ cp src/config.mk.dist src/auto/config.mk; \ fi @@ -40,6 +40,10 @@ all install uninstall tools config confi @echo "If there are problems, cd to the src directory and run make there" cd src && $(MAKE) $@ +test: all + cd src && $(MAKE) test + cd runtime/indent && $(MAKE) clean && $(MAKE) test + ######################################################################### # 2. Creating the various distribution files. diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -800,6 +800,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 597, +/**/ 596, /**/ 595,