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:
Scott Kostyshak 2013-02-16 02:54:17 -05:00
parent 2fd0c34b9b
commit 9f4927e855
2 changed files with 2 additions and 2 deletions

View File

@ -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})

View File

@ -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