Bug#808176: ITP: python-neovim -- Library for scripting Neovim processes through its msgpack-rpc API
On Mon, Feb 08, 2016 at 05:32:50PM +0100, Víctor Cuadrado Juan wrote:
> Right now I am stalled, as I can't get the tests to pass
> when building in a chroot (pbuilder).
>
> The tests require a neovim instance running as server, so for
> example one can use `dtach` to run nvim, and run the tests
> against it. This already works outside of pbuilder, but I fail
> to reproduce it in pbuilder. A simplified example of what is
> needed, without proper cleansing after the tests would be:
>
> >override_dh_auto_test:
> > # start a detached session with a nvim server:
> > export NVIM_LISTEN_ADDRESS=$(dtmp)/nvim-socket
What's dtmp? I can't seem to find a binary by that name in Debian.
> > dtach -n $(dtmp)/dtach-socket env TERM=vt100 nvim
> > dh_auto_test
What about running what their Travis-CI setup does?
NVIM_CHILD_ARGV='["nvim", "-u", "NONE", "--embed"]' nosetests
Cheers,
--
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan@debian.org>
Reply to: