[Patch] Test suite for compare function

Sam Crawley sam at crawley.nz
Fri Nov 13 08:11:07 UTC 2020


I've attached an updated patchset.

As discussed, there's now a different parameter for "dialog-show compare" called "run-blocking", which is appropriate for calling from the command line. The tests now use this. A couple of other things tidied up too.

Thanks,
Sam.

On Sun, 8 Nov 2020, at 17:14, Sam Crawley wrote:
> Hi all,
> 
> I've created a fairly basic test suite for the Compare function. It uses the lyx_batch.pl script to run compare on two files, and then does a comparison with an expected diff file.
> 
> This is the first step in some changes I'd like to make to the compare function (see #6889).
> 
> Comments welcome, and also happy to have suggestions for additional test cases.
> 
> Thanks,
> Sam.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201113/63101cf7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Added-test-for-nested-insets-bug-9395.patch
Type: text/x-patch
Size: 9843 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201113/63101cf7/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Added-tests-for-compare-function.patch
Type: text/x-patch
Size: 180019 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201113/63101cf7/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-issue-in-running-compare-from-the-command-line.patch
Type: text/x-patch
Size: 3542 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201113/63101cf7/attachment-0005.bin>


More information about the lyx-devel mailing list