On Tue, Mar 11, 2014 at 8:18 AM, Kornel Benko <kor...@lyx.org> wrote: > 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?
Sorry for the late reply. The idea is to enable all XeTeX/LuaTeX tests even if pdflatex is the default? That's fine with me. I now reread my email and I see that I was unclear. I meant that we might want to enable pdf2 as default but still run pdf4 and pdf5 tests *for a specific test*. I was thinking of having a file for testing that says explicitly which extra tests should be run. Your way might be better though because inverting tests is in general better than ignoring them (which is what we did previously). In fact, we've re-reverted a few tests so it seems that it's a useful feature to discover when something starts working. An open question is still: do we have a well-defined policy for the default output format? The way I see it is that it should be set whenever one of the export formats pdf, pdf2, pdf4, pdf5 fails. Even with your change, there are still situations where a default output format should be set but we need extra tests for that file. For example, the Japanese have a default output format of pdf, but they should be tested also with pdf3 (dvipdfmx), which we are not currently doing. What do you think should be done for this? I see two approaches: (1) we can just move towards enabling all tests and then inverting/ignoring when we need to. The only disadvantage is computer time. (2) we can have a file that will force the inclusion of a specific test. Which do you think is best? Scott