set(_format ${CMAKE_MATCH_1})
if(_format STREQUAL "default")
set(out_formats "xhtml" ${DVI_FORMATS} ${PDF_FORMATS})
- elseif(_format MATCHES "pdf")
- set(found "xhtml" ${PDF_FORMATS})
- elseif(_format MATCHES "dvi")
+ elseif(_format MATCHES "pdf$")
+ set(out_formats "xhtml" ${PDF_FORMATS})
+ elseif(_format MATCHES "dvi$")
set(out_formats "xhtml" ${DVI_FORMATS})
+ elseif(_format MATCHES "xhtml")
+ set(out_formats "xhtml")
else()
# Respect all other output formats
- # like "eps3", "xhtml"
- set(out_formats ${_format})
+ # like "eps3"
+ set(out_formats "xhtml" ${_format})
endif()
break()
endif()
-DWORKDIR=${CMAKE_CURRENT_BINARY_DIR}/${LYX_HOME}
-P "${TOP_SRC_DIR}/development/autotests/check_load.cmake")
setmarkedtestlabel(${TestName} ${reverted} "load")
+ set_tests_properties(${TestName} PROPERTIES RUN_SERIAL ON)
endif()
getoutputformats("${LIBSUB_SRC_DIR}/${f}.lyx" formatlist)
foreach(format ${formatlist})