Your message dated Wed, 22 Aug 2018 21:33:01 -0400
with message-id <[email protected]>
and subject line Re: Bug#905420: Found errors in Test_cscope_add_dir()
has caused the Debian Bug report #905420,
regarding Found errors in Test_cscope_add_dir()
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
905420: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905420
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vim
Version: 8.1.0229-1

Making a custom build of 8.1.0229-1, I get this:

>From test_cscope.vim:
Found errors in Test_cscope_add_dir():
Caught exception in Test_cscope_add_dir(): Vim(cscope):E563: 
stat(/home/david/src/vim/vim-8.1.0229/src/vim-basic/testdir/Xcscopedir/cscope.out)
 error: 2 @ function RunTheTes
t[40]..Test_cscope_add_dir, line 3
TEST FAILURE
...
dpkg-buildpackage: error: debian/rules build gave error exit status 2


The problem seems to be patch 8.1.0188 (no test for ":cscope add"); in
this new test, cscope is run like this:

call system('cscope -bk -fXcscopedir/cscope.out ../memfile_test.c')

but "../memfile_test.c" is a symlink, cscope don't work with symlinks
and don't build Xcscopedir/cscope.out, and so the test fail.


As a workaround, renaming temporally the cscope executable let the build
work without any problem, because the test doesn't run if cscope doesn't
exist.

I'm using Debian 9.5 stretch, with kernel x86_64 Linux 4.9.110.

Cheers,
-- 
David

--- End Message ---
--- Begin Message ---
Version: 2:8.1.0320-1

On Sat, Aug 04, 2018 at 01:30:33PM +0200, David Reviejo wrote:
> The problem seems to be patch 8.1.0188 (no test for ":cscope add"); in
> this new test, cscope is run like this:
> 
> call system('cscope -bk -fXcscopedir/cscope.out ../memfile_test.c')
> 
> but "../memfile_test.c" is a symlink, cscope don't work with symlinks
> and don't build Xcscopedir/cscope.out, and so the test fail.

Thanks for the tip.  This was fixed in the latest upload.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

--- End Message ---

Reply via email to