summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-21 11:43:08 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-21 11:43:08 +0100
commit6e77df2d8555ade4470e566011603ae40f1f0f3a (patch)
tree48222e9abb40ef81ad8a5e8732d022dfdd850c8d
parent5df95ea9ef34b5a898141ddc7134e4a7de713ba5 (diff)
downloadvim-git-6e77df2d8555ade4470e566011603ae40f1f0f3a.tar.gz
patch 8.0.1326: largefile test fails on CI, glob test on MS-Windowsv8.0.1326
Problem: Largefile test fails on CI, glob test on MS-Windows. Solution: Remove largefile test from list of all tests. Don't run Test_glob() on non-unix systems. More cleanup. (Yegappan Lakshmanan, closes #2354)
-rw-r--r--src/testdir/Make_all.mak2
-rw-r--r--src/testdir/test_escaped_glob.vim7
-rw-r--r--src/testdir/test_plus_arg_edit.vim2
-rw-r--r--src/version.c2
4 files changed, 12 insertions, 1 deletions
diff --git a/src/testdir/Make_all.mak b/src/testdir/Make_all.mak
index d1ff7aab3..6e3356491 100644
--- a/src/testdir/Make_all.mak
+++ b/src/testdir/Make_all.mak
@@ -67,6 +67,7 @@ SCRIPTS_GUI =
# Tests using runtest.vim
# Keep test_alot*.res as the last one, sort the others.
+# test_largefile.res is omitted, it uses too much resources to run on CI.
NEW_TESTS = test_arabic.res \
test_arglist.res \
test_assert.res \
@@ -122,7 +123,6 @@ NEW_TESTS = test_arabic.res \
test_job_fails.res \
test_json.res \
test_langmap.res \
- test_largefile.res \
test_let.res \
test_lineending.res \
test_listchars.res \
diff --git a/src/testdir/test_escaped_glob.vim b/src/testdir/test_escaped_glob.vim
index 6eca8bc71..b91c6e742 100644
--- a/src/testdir/test_escaped_glob.vim
+++ b/src/testdir/test_escaped_glob.vim
@@ -9,12 +9,19 @@ function SetUp()
endfunction
function Test_glob()
+ if !has('unix')
+ " This test fails on Windows because of the special characters in the
+ " filenames. Disable the test on non-Unix systems for now.
+ return
+ endif
call assert_equal("", glob('Xxx\{'))
call assert_equal("", glob('Xxx\$'))
w! Xxx{
w! Xxx\$
call assert_equal("Xxx{", glob('Xxx\{'))
call assert_equal("Xxx$", glob('Xxx\$'))
+ call delete('Xxx{')
+ call delete('Xxx$')
endfunction
function Test_globpath()
diff --git a/src/testdir/test_plus_arg_edit.vim b/src/testdir/test_plus_arg_edit.vim
index 0907550bf..71dbea199 100644
--- a/src/testdir/test_plus_arg_edit.vim
+++ b/src/testdir/test_plus_arg_edit.vim
@@ -5,4 +5,6 @@ function Test_edit()
edit +1|s/|/PIPE/|w Xfile1| e Xfile2|1 | s/\//SLASH/|w
call assert_equal(["fooPIPEbar"], readfile("Xfile1"))
call assert_equal(["fooSLASHbar"], readfile("Xfile2"))
+ call delete('Xfile1')
+ call delete('Xfile2')
endfunction
diff --git a/src/version.c b/src/version.c
index c90db1589..7a7358d3e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1326,
+/**/
1325,
/**/
1324,