Am Dienstag, 11. März 2014 um 11:03:50, schrieb Kornel Benko <kor...@lyx.org>
> > Thanks, XeTeX and LuaTeX system font tests now pass. I'm looking into
> > getting pdflatex working. By the way, we need a way to add tests even
> > if there is a default format. For example, if we want to set pdflatex
> > as the default format, we should still test XeTeX and LuaTeX, but we
> > still want to exclude (or revert) latex (ps2pdf).
> 
> The same way, as we do for "xhtml"?
> CMakeLists.txt:120
> 
> > Scott

Like this?

        Kornel
diff --git a/development/autotests/CMakeLists.txt b/development/autotests/CMakeLists.txt
index 76ab043..fb00a4b 100644
--- a/development/autotests/CMakeLists.txt
+++ b/development/autotests/CMakeLists.txt
@@ -114,6 +114,8 @@ macro(getoutputformats filepath varname)
     if(_l MATCHES "^\\\\default_output_format +\([^ ]+\)")
       if(CMAKE_MATCH_1 STREQUAL "default")
         set(found ${out_formats})
+      elseif(CMAKE_MATCH_1 STREQUAL "pdf2")
+        set(found "pdf2" "pdf4" "pdf5")
       elseif(CMAKE_MATCH_1 STREQUAL "xhtml")
         set(found "xhtml")
       else()

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to