Hi,

The tests are done with the help of one or more command-line utilities
handling the system clipboard.  More specifically, xsel(1) for X11, or
pbcopy(1) and pbpaste(1) for macOS.

The idea is very similar to the +-register tests I proposed recently;
exchanging a piece of text between vim and the utility, and comparing the
result with the expected value in order to check if the *-register works as
a faithful mediator between them.

pbcopy and pbpaste are installed on macOS by default, but I'm not sure if
so is xsel.  Hence, please make sure whether or not xsel  is installed on
the host system before running the tests against the X11 clipboard (the
PRIMARY selection, actually).  When xsel is not found, the tests are
skipped leaving a message indicating that.

I chose xsel simply because its source code was easily available to me and
was easily built and installed successfully on my macOS.

So, in case xsel is not available to you, please consider replacing it with
another utility having the same functionality, or adding a test path using
that replacement, as the tests themselves are quite simple.

Hopefully,  the X11 of Travis CI tests has xsel.

Best regards,
Kazunobu Kuriyama

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: quotestar-tests.patch
Description: Binary data

Raspunde prin e-mail lui