diff src/Makefile @ 15164:9d05de1ecc6f v8.1.0592

patch 8.1.0592: the libvterm tests are not run as part of Vim tests commit https://github.com/vim/vim/commit/471f65813592238509923f2c8748df5be03513e9 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 15 14:24:39 2018 +0100 patch 8.1.0592: the libvterm tests are not run as part of Vim tests Problem: The libvterm tests are not run as part of Vim tests. Solution: Add testing libvterm.
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Dec 2018 14:30:08 +0100
parents 9df130fd5e0d
children 1cc5524d1081
line wrap: on
line diff
--- a/src/Makefile
+++ b/src/Makefile
@@ -2107,7 +2107,7 @@ types.vim: $(TAGS_SRC) $(TAGS_INCL)
 # TESTING
 #
 # Execute the test scripts and the unittests.
-test check: scripttests unittests
+test check: scripttests unittests test_libvterm
 
 # Execute the test scripts.  Run these after compiling Vim, before installing.
 # This doesn't depend on $(VIMTARGET), because that won't work when configure
@@ -2159,6 +2159,10 @@ run_memfile_test: $(MEMFILE_TEST_TARGET)
 run_message_test: $(MESSAGE_TEST_TARGET)
 	$(VALGRIND) ./$(MESSAGE_TEST_TARGET) || exit 1; echo $* passed;
 
+# Run the libvterm tests.
+test_libvterm:
+	cd libvterm; $(MAKE) -f Makefile test CC="$(CC)"
+
 # Run individual OLD style test.
 # These do not depend on the executable, compile it when needed.
 test1 \