Mercurial > vim
diff src/testdir/Makefile @ 29128:d8a962d7b008 v8.2.5084
patch 8.2.5084: when the GUI shows a dialog tests get stuck
Commit: https://github.com/vim/vim/commit/2d12c25a1b73fb6991006fd970b3132ab8ee8b62
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 13 21:42:45 2022 +0100
patch 8.2.5084: when the GUI shows a dialog tests get stuck
Problem: When the GUI shows a dialog tests get stuck.
Solution: Add the --gui-dialog-file argument.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 13 Jun 2022 22:45:06 +0200 |
parents | 4a7650a894d4 |
children | f652823ce8bb |
line wrap: on
line diff
--- a/src/testdir/Makefile +++ b/src/testdir/Makefile @@ -89,6 +89,7 @@ clean: -rm -rf $(RM_ON_RUN) $(RM_ON_START) -rm -f valgrind.* -rm -f asan.* + -rm -f guidialog guidialogfile # Delete the files produced by benchmarking, so they can run again. benchmarkclean: @@ -127,7 +128,8 @@ tinytests: $(SCRIPTS_TINY_OUT) # New style of tests uses Vim script with assert calls. These are easier # to write and a lot easier to read and debug. # Limitation: Only works with the +eval feature. -RUN_VIMTEST = VIMRUNTIME=$(SCRIPTSOURCE) $(VALGRIND) $(VIMPROG) -f $(GUI_FLAG) -u unix.vim +# Add --gui-dialog-file to avoid getting stuck in a dialog. +RUN_VIMTEST = VIMRUNTIME=$(SCRIPTSOURCE) $(VALGRIND) $(VIMPROG) -f $(GUI_FLAG) -u unix.vim --gui-dialog-file guidialog newtests: newtestssilent @/bin/sh -c "if test -f messages; then cat messages; fi"