]> git.lyx.org Git - lyx.git/blobdiff - development/autotests/ExportTests.cmake
Use "babel only" for some Spanish manuals
[lyx.git] / development / autotests / ExportTests.cmake
index 3964642e965dca5812ee1f64c7344649f36ea467..50b4aa42e31fe7cc74ba43598d574e9fa63edd35 100644 (file)
@@ -46,14 +46,16 @@ macro(getoutputformats filepath varname)
       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()
@@ -201,6 +203,7 @@ foreach(libsubfolder doc examples templates)
         -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})