ctests failing on current master
Kornel Benko
kornel at lyx.org
Tue Sep 17 13:15:19 UTC 2024
Am Tue, 17 Sep 2024 11:43:51 +0200
schrieb Scott Kostyshak <skostysh at lyx.org>:
> On Sun, Sep 15, 2024 at 07:05:02PM GMT, Scott Kostyshak wrote:
>
> >
> > The following tests FAILED:
> > 3134 - INVERTED.TODO_export/doc/ja/UserGuide_pdf5_systemF (Failed)
> > 5020 - export/examples/es/Curricula_Vitae/Modern_CV_lyx22 (Failed)
> > 5021 - export/examples/es/Curricula_Vitae/Modern_CV_lyx23 (Failed)
>
> ^ These have been resolved.
>
> > 5719 - export/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29_lyx20
> > (Failed) 5720 - export/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29_lyx21
> > (Failed) 5721 - export/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29_lyx22
> > (Failed) 5722 - export/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29_lyx23
> > (Failed) 7410 -
> > export/templates/ja/Articles/Japanese_Article_%28JS_Bundle_for_LuaTeX%29_lyx23
> > (Failed) 7419 -
> > export/templates/ja/Articles/Japanese_Article_%28Standard_Class_for_LuaTeX%29_lyx23
> > (Failed) 7428 -
> > export/templates/ja/Articles/Japanese_Article_%28Standard_Class_for_LuaTeX%2C_vertical_Writing%29_lyx23
> > (Failed) 7437 -
> > export/templates/ja/Books/Japanese_Book_%28JS_Bundle_for_LuaTeX%29_lyx23 (Failed)
> > 7446 - export/templates/ja/Books/Japanese_Book_%28Standard_Class_for_LuaTeX%29_lyx23
> > (Failed) 7455 -
> > export/templates/ja/Books/Japanese_Book_%28Standard_Class_for_LuaTeX%2C_vertical_Writing%29_lyx23
> > (Failed) 7476 -
> > export/templates/ja/Reports/Japanese_Report_%28JS_Bundle_for_LuaTeX%29_lyx23 (Failed)
> > 7485 -
> > export/templates/ja/Reports/Japanese_Report_%28Standard_Class_for_LuaTeX%29_lyx23
> > (Failed) 7494 -
> > export/templates/ja/Reports/Japanese_Report_%28Standard_Class_for_LuaTeX%2C_vertical_Writing%29_lyx23
> > (Failed)
>
> Kornel, do the above tests fail for you also? When I look in the log I
> see the following:
>
> -- Create the corresponding .tex file
> "/home/scott/lyxbuilds/master-master/CMakeBuild/autotests/out-home/AbC_ybegAu/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29.tex"
> Error: Couldn't export file ----------------------------------------
> No information for exporting the format LaTeX (pdflatex).
>
> I think this is an issue in our testing code. In export.cmake, we have
> "pdflatex" hardcoded:
>
> execute_process(
> COMMAND ${lyx} -userdir "${LYX_TESTS_USERDIR}" -E pdflatex ${used_tex_file}
> "${LYX_SOURCE}" RESULT_VARIABLE _errx)
>
> For the above tests, the default output format is PDF (LuaTeX), so
> ideally we would export to format "luatex". I don't know how to do this.
> Is the only way to parse the file for the default output format and then
> code up all of the cases, e.g., "PDF (luatex) -> luatex", "PDF (xetex) -> xetex",
> etc. ?
>
> By the way, I wonder if in our core LyX code it would be helpful to have
> the special format "defaulttex" which would export to the TeX language
> corresponding to the "default" format. This seems potentially useful to
> users, but I don't recall anyone requesting it so maybe not.
>
> Also, do you remember the purpose of exporting to .tex? Here is my
> guess, and I propose to add it as a comment if you think it is correct:
>
> # We export to .tex to check for bugs in our LaTeX export code. We do
> # not actually do anything with this .tex file.
>
> Scott
I see the following differences between the created between *.23.lyx and *.23.23.lyx
files
> % Added by lyx2lyx
> %% This document must be processed with xelatex or lualatex!
> \AtBeginDocument{%
> }
With each lyx2lyx conversion added.
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240917/315c6cdb/attachment.asc>
More information about the lyx-devel
mailing list