]> granicus.if.org Git - vim/commitdiff
patch 8.1.2203: running libvterm tests without the +terminal feature v8.1.2203
authorBram Moolenaar <Bram@vim.org>
Wed, 23 Oct 2019 20:35:36 +0000 (22:35 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 23 Oct 2019 20:35:36 +0000 (22:35 +0200)
Problem:    Running libvterm tests without the +terminal feature.
Solution:   Only add the libvterm test target when building libvterm.

src/Makefile
src/auto/configure
src/config.mk.in
src/configure.ac
src/version.c

index c08446339c53a3235b353354910d79eec2cba332..90390e03352ccaa7fb5ff6fb6ad1a2f62eb102f2 100644 (file)
@@ -2193,7 +2193,7 @@ types.vim: $(TAGS_FILES)
 #
 # Execute the test scripts and the unittests.
 # Do the scripttests first, so that the summary shows last.
-test check: unittests test_libvterm scripttests
+test check: unittests $(TERM_TEST) scripttests
 
 # Execute the test scripts.  Run these after compiling Vim, before installing.
 # This doesn't depend on $(VIMTARGET), because that won't work when configure
index 1c00773f23399f48ee0759759c5d72e206a6662f..61b72725003bc14bdca07e2fca32b96875d3eee5 100755 (executable)
@@ -656,6 +656,7 @@ X_PRE_LIBS
 X_CFLAGS
 XMKMF
 xmkmfpath
+TERM_TEST
 TERM_OBJ
 TERM_SRC
 CHANNEL_OBJ
@@ -7911,6 +7912,8 @@ if test "$enable_terminal" = "yes" -a "$enable_channel" = "yes"; then
 
   TERM_OBJ="objects/vterm_encoding.o objects/vterm_keyboard.o objects/vterm_mouse.o objects/vterm_parser.o objects/vterm_pen.o objects/vterm_screen.o objects/vterm_state.o objects/vterm_unicode.o objects/vterm_vterm.o"
 
+  TERM_TEST="test_libvterm"
+
 fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --enable-autoservername argument" >&5
index e20a10f8bcfae24dce1cd5161f1757d186b62795..6aa842935b72eb27ce4686f9f1e8d4a07f81e34e 100644 (file)
@@ -87,6 +87,7 @@ CHANNEL_SRC   = @CHANNEL_SRC@
 CHANNEL_OBJ    = @CHANNEL_OBJ@
 TERM_SRC       = @TERM_SRC@
 TERM_OBJ       = @TERM_OBJ@
+TERM_TEST      = @TERM_TEST@
 
 RUBY           = @vi_cv_path_ruby@
 RUBY_SRC       = @RUBY_SRC@
index 3ad223b398c5814e2db226105d4149761d51547e..b59914b62e8dd856968a4e759df685126039ed18 100644 (file)
@@ -2108,6 +2108,8 @@ if test "$enable_terminal" = "yes" -a "$enable_channel" = "yes"; then
   AC_SUBST(TERM_SRC)
   TERM_OBJ="objects/vterm_encoding.o objects/vterm_keyboard.o objects/vterm_mouse.o objects/vterm_parser.o objects/vterm_pen.o objects/vterm_screen.o objects/vterm_state.o objects/vterm_unicode.o objects/vterm_vterm.o"
   AC_SUBST(TERM_OBJ)
+  TERM_TEST="test_libvterm"
+  AC_SUBST(TERM_TEST)
 fi
 
 AC_MSG_CHECKING(--enable-autoservername argument)
index 7e627d2db1f163cd81a6d85a3abbdf059621969c..e1bc377f970012047fc9287ab708b1683543f003 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2203,
 /**/
     2202,
 /**/