[Patch] Test suite for compare function

Sam Crawley sam at crawley.nz
Sun Nov 8 04:14:42 UTC 2020


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/20201108/dcbcb25b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-issue-in-running-compare-as-a-command.patch
Type: text/x-patch
Size: 3841 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201108/dcbcb25b/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Created-initial-test-for-compare-function.patch
Type: text/x-patch
Size: 14690 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201108/dcbcb25b/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Added-more-compare-function-tests.patch
Type: text/x-patch
Size: 169098 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201108/dcbcb25b/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Added-test-for-nested-insets-bug-9395.patch
Type: text/x-patch
Size: 9883 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201108/dcbcb25b/attachment-0007.bin>


More information about the lyx-devel mailing list