[LyX/master] Added tests for compare function

Pavel Sanda sanda at lyx.org
Sun Nov 15 09:08:28 UTC 2020


commit 434ac146bde18934d64262b5d9c23d5707f40541
Author: Sam Crawley <sam at crawley.nz>
Date:   Fri Nov 13 20:58:20 2020 +1300

    Added tests for compare function
    
    Runs the compare via the command line, and then compares the output to the
    expected result. Required adding a script to do the comparison, so that
    the timestamps on changes in the lyx file are ignored.

 development/batchtests/CMakeLists.txt              |    1 +
 development/batchtests/bin/compare_custom.pl       |   59 +
 .../compare_tests/basic/diffs.expected.lyx         |   97 +
 development/batchtests/compare_tests/basic/new.lyx |   92 +
 development/batchtests/compare_tests/basic/old.lyx |   92 +
 .../compare_tests/basic_insets/diffs.expected.lyx  |  112 +
 .../batchtests/compare_tests/basic_insets/new.lyx  |  101 +
 .../batchtests/compare_tests/basic_insets/old.lyx  |  101 +
 .../compare_tests/char_vs_word/diffs.expected.lyx  |  105 +
 .../batchtests/compare_tests/char_vs_word/new.lyx  |   92 +
 .../batchtests/compare_tests/char_vs_word/old.lyx  |   92 +
 .../compare_tests/long_doc/diffs.expected.lyx      | 2373 ++++++++++++++++++++
 .../batchtests/compare_tests/long_doc/new.lyx      | 2292 +++++++++++++++++++
 .../batchtests/compare_tests/long_doc/old.lyx      | 2313 +++++++++++++++++++
 lib/scripts/lyx_batch.pl.in                        |  140 +-
 15 files changed, 8016 insertions(+), 46 deletions(-)


More information about the lyx-cvs mailing list