On Sat, Nov 07, 2020 at 09:33:22PM -0500, James McCoy wrote:
> On Sat, Nov 07, 2020 at 12:59:48PM +0200, Graham Inggs wrote:
> > /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/runtest.vim[461]..function
> > RunTheTest[39]..Test_compiler line 23: command did not fail: clist
> > command line..script
> > /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/runtest.vim[461]..function
> > RunTheTest[39]..Test_compiler line 29: Pattern '\\n \\d\\+ Xfoo.pl:3:
> > Global symbol "$foo" requires explicit package name' does not match
> > '\n18 Xfoo.pl:3: Global symbol "$foo" requires explicit package name
> > (did you forget to declare "my $foo"?)'
> 
> This is unrelated to the Python 3.9 transition and appears to just be a
> flaky test.

I haven't been able to reproduce this locally and the "line 23" error
is likely related to "line 29" failing.

Would you be able to reproduce the failure with the attached patch
applied?  That should give more insight into what's going on.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB
diff --git i/debian/patches/series w/debian/patches/series
index 926684fb7..f0b140145 100644
--- i/debian/patches/series
+++ w/debian/patches/series
@@ -2,3 +2,4 @@ debian/Support-sourcing-a-vimrc.tiny-when-Vim-is-invoked-as-vi.patch
 debian/Detect-the-rst-filetype-using-the-contents-of-the-file.patch
 debian/Add-recognition-of-more-LaTeX-commands-for-tex-filetype-d.patch
 debian/Document-Debian-s-decision-to-disable-modelines-by-defaul.patch
+test_compiler-debug
diff --git i/debian/patches/test_compiler-debug w/debian/patches/test_compiler-debug
new file mode 100644
index 000000000..6d6ec7346
--- /dev/null
+++ w/debian/patches/test_compiler-debug
@@ -0,0 +1,18 @@
+diff --git i/src/testdir/test_compiler.vim w/src/testdir/test_compiler.vim
+index 6bf5f1521..55964313c 100644
+--- i/src/testdir/test_compiler.vim
++++ w/src/testdir/test_compiler.vim
+@@ -26,7 +26,12 @@ func Test_compiler()
+   call setline(1, ['#!/usr/bin/perl -w', 'use strict;', 'my $foo=1'])
+   w!
+   call feedkeys(":make\<CR>\<CR>", 'tx')
+-  call assert_fails('clist', 'E42:')
++  try
++    let a=execute('clist')
++    call assert_equal('', a)
++  catch
++    call assert_match('E42:', v:errmsg)
++  endtry
+ 
+   call setline(1, ['#!/usr/bin/perl -w', 'use strict;', '$foo=1'])
+   w!

Reply via email to