Problem: Running individual test differs from all tests.
Solution: Pass on environment variables. (Yee Cheng Chin, closes #5672)
# make test_largefile
$(NEW_TESTS):
rm -f $@.res test.log messages
- @MAKEFLAGS=--no-print-directory $(MAKE) -f Makefile $@.res
+ @MAKEFLAGS=--no-print-directory $(MAKE) -f Makefile $@.res VIMPROG=$(VIMPROG) XXDPROG=$(XXDPROG) SCRIPTSOURCE=$(SCRIPTSOURCE)
@cat messages
@if test -f test.log; then \
exit 1; \
bit faster, because Vim doesn't have to be started, one Vim instance runs many
tests.
+At 4), to run a test in GUI, add "GUI_FLAG=-g" to the make command.
+
What you can use (see test_assert.vim for an example):
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 290,
/**/
289,
/**/