mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Add examples to export tests (CMake & autotools)
Now all export tests can be run with: ctest -R "export" Only export tests for manuals can be run with: ctest -R "export/doc" And only export tests for examples can be run with: ctest -R "export/examples"
This commit is contained in:
parent
2fd0c34b9b
commit
9f4927e855
@ -62,7 +62,7 @@ macro(getdefaultoutputformat filepath varname)
|
||||
endforeach()
|
||||
endmacro()
|
||||
|
||||
foreach(libsubfolder doc)
|
||||
foreach(libsubfolder doc examples)
|
||||
set(LIBSUB_SRC_DIR "${TOP_SRC_DIR}/lib/${libsubfolder}")
|
||||
file(GLOB lyx_files RELATIVE "${LIBSUB_SRC_DIR}" "${LIBSUB_SRC_DIR}/*.lyx")
|
||||
foreach(f ${lyx_files})
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
failed=0
|
||||
for libsubdir in doc; do
|
||||
for libsubdir in doc examples; do
|
||||
for format in xhtml lyx16x; do
|
||||
for f in $LYX_ROOT/lib/$libsubdir/*lyx; do
|
||||
if $LYX_EXE -e $format $f >> lyx-log.txt 2>&1; then
|
||||
|
Loading…
Reference in New Issue
Block a user