# HG changeset patch # User Bram Moolenaar # Date 1568835903 -7200 # Node ID 9b7c7754ba9d1d30ffe1c56991f98d445541c24b # Parent 0a89f6f6de873d4820d9fc9bc224a5c9e100ab0d patch 8.1.2054: compiler test for Perl may fail Commit: https://github.com/vim/vim/commit/cebfcffa40c058119bc2f92f0db02dffd3f6affe Author: Bram Moolenaar Date: Wed Sep 18 21:42:38 2019 +0200 patch 8.1.2054: compiler test for Perl may fail Problem: Compiler test for Perl may fail. Solution: Accept any error line number. (James McCoy, closes https://github.com/vim/vim/issues/4944) diff --git a/src/testdir/test_compiler.vim b/src/testdir/test_compiler.vim --- a/src/testdir/test_compiler.vim +++ b/src/testdir/test_compiler.vim @@ -28,8 +28,9 @@ func Test_compiler() w! call feedkeys(":make\\", 'tx') let a=execute('clist') - call assert_match("\n 1 Xfoo.pl:3: Global symbol \"\$foo\" " - \ . "requires explicit package name", a) + call assert_match('\n \d\+ Xfoo.pl:3: Global symbol "$foo" ' + \ . 'requires explicit package name', a) + let &shellslash = save_shellslash call delete('Xfoo.pl') diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2054, +/**/ 2053, /**/ 2052,