summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-05-28 13:40:10 +0200
committerBram Moolenaar <Bram@vim.org>2016-05-28 13:40:10 +0200
commitaf6c12c27bcb553b2fb2c8a9dcfde626fb3670fe (patch)
treef40059b8a658fa56ffb700e12f7a0d938d301738 /src/Makefile
parent180fc2d41812c49b60224a1ca89945a002a090f5 (diff)
downloadvim-git-af6c12c27bcb553b2fb2c8a9dcfde626fb3670fe.tar.gz
patch 7.4.1852v7.4.1852
Problem: Unix: Cannot run all tests with the GUI. Solution: Add the "testgui" target.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index b3b8daf0b..5b510e0eb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -582,7 +582,7 @@ CClink = $(CC)
#CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes
# Use this with GCC to check for mistakes, unused arguments, etc.
-#CFLAGS = -g -Wall -Wextra -Wmissing-prototypes -Wunreachable-code -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
+#CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
#CFLAGS = -g -O2 -Wall -Wextra -Wmissing-prototypes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DU_DEBUG
#PYTHON_CFLAGS_EXTRA = -Wno-missing-field-initializers
#MZSCHEME_CFLAGS_EXTRA = -Wno-unreachable-code -Wno-unused-parameter
@@ -1943,6 +1943,10 @@ test check:
cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
$(MAKE) -f Makefile unittest
+# Run the tests with the GUI. Assumes vim/gvim was already built
+testgui:
+ cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) GUI_FLAG=-g $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
+
benchmark:
cd testdir; $(MAKE) -f Makefile benchmark VIMPROG=../$(VIMTARGET) SCRIPTSOURCE=../$(SCRIPTSOURCE)
@@ -2057,6 +2061,7 @@ test_arglist \
test_viminfo \
test_viml \
test_visual \
+ test_window_cmd \
test_window_id \
test_alot_latin \
test_alot_utf8 \