Skip to content

Commit 42c9cfa

Browse files
committed
patch 7.4.1122
Problem: Test 92 and 93 fail when using gvim on a system with a non utf-8 locale. Solution: Avoid using .gvimrc by adding -U NONE. (Yukihiro Nakadaira)
1 parent 08b270a commit 42c9cfa

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

src/testdir/Make_dos.mak

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ win32: nolog $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_WIN32) newtests report
3838
$(DOSTMP_INFILES): $(*B).in
3939
if not exist $(DOSTMP)\NUL md $(DOSTMP)
4040
if exist $@ del $@
41-
$(VIMPROG) -u dos.vim --noplugin "+set ff=dos|f $@|wq" $(*B).in
41+
$(VIMPROG) -u dos.vim -U NONE --noplugin "+set ff=dos|f $@|wq" $(*B).in
4242

4343
# For each input file dostmp/test99.in run the tests.
4444
# This moves test99.in to test99.in.bak temporarily.
@@ -55,7 +55,7 @@ $(TEST_OUTFILES): $(DOSTMP)\$(*B).in
5555
-@if exist Xfind rd /s /q Xfind
5656
-@del X*
5757
-@if exist viminfo del viminfo
58-
$(VIMPROG) -u dos.vim --noplugin "+set ff=unix|f test.out|wq" \
58+
$(VIMPROG) -u dos.vim -U NONE --noplugin "+set ff=unix|f test.out|wq" \
5959
$(DOSTMP)\$(*B).out
6060
@diff test.out $*.ok & if errorlevel 1 \
6161
( move /y test.out $*.failed \
@@ -114,4 +114,4 @@ bench_re_freeze.out: bench_re_freeze.vim
114114
newtests: $(NEW_TESTS)
115115

116116
.vim.res:
117-
$(VIMPROG) -u NONE -S runtest.vim $*.vim
117+
$(VIMPROG) -u NONE -U NONE -S runtest.vim $*.vim

src/testdir/Make_ming.mak

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ win32: fixff $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_WIN32)
6565
echo ALL DONE
6666

6767
fixff:
68-
-$(VIMPROG) -u dos.vim --noplugin "+argdo set ff=dos|upd" +q *.in *.ok
69-
-$(VIMPROG) -u dos.vim --noplugin "+argdo set ff=unix|upd" +q \
68+
-$(VIMPROG) -u dos.vim -U NONE --noplugin "+argdo set ff=dos|upd" +q *.in *.ok
69+
-$(VIMPROG) -u dos.vim -U NONE --noplugin "+argdo set ff=unix|upd" +q \
7070
dotest.in test60.ok test71.ok test74.ok test_listchars.ok
7171

7272
clean:

src/testdir/Make_vms.mms

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ SCRIPT_PYTHON = test86.out test87.out
163163
-@ write sys$output " "$*" "
164164
-@ write sys$output "-----------------------------------------------"
165165
-@ !run the test
166-
-@ create/term/wait/nodetach mcr $(VIMPROG) $(GUI_OPTION) -u vms.vim --noplugin -s dotest.in $*.in
166+
-@ create/term/wait/nodetach mcr $(VIMPROG) $(GUI_OPTION) -u vms.vim -U NONE --noplugin -s dotest.in $*.in
167167
-@ !analyse the result
168168
-@ directory /size/date test.out
169169
-@ if "''F$SEARCH("test.out.*")'" .NES. "" then rename/nolog test.out $*.out

src/testdir/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,4 @@ newtestssilent: $(NEW_TESTS)
127127

128128

129129
.vim.res:
130-
$(RUN_VIMTEST) -u NONE -S runtest.vim $*.vim
130+
$(RUN_VIMTEST) -u NONE -U NONE -S runtest.vim $*.vim

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
1122,
744746
/**/
745747
1121,
746748
/**/

0 commit comments

Comments
 (0)