comparison src/Makefile @ 9137:8b2d6447fb6a v7.4.1852

commit https://github.com/vim/vim/commit/af6c12c27bcb553b2fb2c8a9dcfde626fb3670fe Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 28 13:40:10 2016 +0200 patch 7.4.1852 Problem: Unix: Cannot run all tests with the GUI. Solution: Add the "testgui" target.
author Christian Brabandt <cb@256bit.org>
date Sat, 28 May 2016 13:45:06 +0200
parents 0764ed56b18c
children f23feeba7549
comparison
equal deleted inserted replaced
9136:cbb3ab11ff10 9137:8b2d6447fb6a
580 #CFLAGS = -O6 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes 580 #CFLAGS = -O6 -fno-strength-reduce -Wall -Wshadow -Wmissing-prototypes
581 #CFLAGS = -g -DDEBUG -Wall -Wshadow -Wmissing-prototypes 581 #CFLAGS = -g -DDEBUG -Wall -Wshadow -Wmissing-prototypes
582 #CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes 582 #CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes
583 583
584 # Use this with GCC to check for mistakes, unused arguments, etc. 584 # Use this with GCC to check for mistakes, unused arguments, etc.
585 #CFLAGS = -g -Wall -Wextra -Wmissing-prototypes -Wunreachable-code -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 585 #CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
586 #CFLAGS = -g -O2 -Wall -Wextra -Wmissing-prototypes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DU_DEBUG 586 #CFLAGS = -g -O2 -Wall -Wextra -Wmissing-prototypes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DU_DEBUG
587 #PYTHON_CFLAGS_EXTRA = -Wno-missing-field-initializers 587 #PYTHON_CFLAGS_EXTRA = -Wno-missing-field-initializers
588 #MZSCHEME_CFLAGS_EXTRA = -Wno-unreachable-code -Wno-unused-parameter 588 #MZSCHEME_CFLAGS_EXTRA = -Wno-unreachable-code -Wno-unused-parameter
589 589
590 # EFENCE - Electric-Fence malloc debugging: catches memory accesses beyond 590 # EFENCE - Electric-Fence malloc debugging: catches memory accesses beyond
1941 ln -s $(VIMTARGET) vim; \ 1941 ln -s $(VIMTARGET) vim; \
1942 fi 1942 fi
1943 cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) 1943 cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
1944 $(MAKE) -f Makefile unittest 1944 $(MAKE) -f Makefile unittest
1945 1945
1946 # Run the tests with the GUI. Assumes vim/gvim was already built
1947 testgui:
1948 cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) GUI_FLAG=-g $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
1949
1946 benchmark: 1950 benchmark:
1947 cd testdir; $(MAKE) -f Makefile benchmark VIMPROG=../$(VIMTARGET) SCRIPTSOURCE=../$(SCRIPTSOURCE) 1951 cd testdir; $(MAKE) -f Makefile benchmark VIMPROG=../$(VIMTARGET) SCRIPTSOURCE=../$(SCRIPTSOURCE)
1948 1952
1949 unittesttargets: 1953 unittesttargets:
1950 $(MAKE) -f Makefile $(UNITTEST_TARGETS) 1954 $(MAKE) -f Makefile $(UNITTEST_TARGETS)
2055 test_undolevels \ 2059 test_undolevels \
2056 test_unlet \ 2060 test_unlet \
2057 test_viminfo \ 2061 test_viminfo \
2058 test_viml \ 2062 test_viml \
2059 test_visual \ 2063 test_visual \
2064 test_window_cmd \
2060 test_window_id \ 2065 test_window_id \
2061 test_alot_latin \ 2066 test_alot_latin \
2062 test_alot_utf8 \ 2067 test_alot_utf8 \
2063 test_alot: 2068 test_alot:
2064 cd testdir; rm -f $@.res test.log messages; $(MAKE) -f Makefile $@.res VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE) 2069 cd testdir; rm -f $@.res test.log messages; $(MAKE) -f Makefile $@.res VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)