mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 11:23:45 +00:00
434ac146bd
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.
19 lines
801 B
CMake
19 lines
801 B
CMake
# Checking whether moving beamer slides through the document doesn't break its structure.
|
|
# see also https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg203281.html
|
|
set(testlabel "batch")
|
|
string(TOUPPER "${testlabel}_" testprefix)
|
|
|
|
macro(add_batch_test testname testpar)
|
|
add_test(NAME "${testprefix}${testname}" COMMAND ${PERL_EXECUTABLE} ${CMAKE_BINARY_DIR}/lyx_batch.pl ${testpar})
|
|
setmarkedtestlabel(${testprefix}${testname} ${ARGN} "${testlabel}")
|
|
endmacro()
|
|
|
|
add_batch_test(outline-beamer beamer_test "export")
|
|
# Checking that info inset correctly fills up VCS information
|
|
# see also bug #10835
|
|
add_batch_test(vcs-info vcs_info_export)
|
|
add_batch_test(AMS-import ams-import "tex2lyx")
|
|
add_batch_test(SAVE-as save_as_test "export")
|
|
add_batch_test(compare-test compare_test "compare_test")
|
|
|