ctests failing on current master
Scott Kostyshak
skostysh at lyx.org
Tue Sep 17 19:53:07 UTC 2024
On Tue, Sep 17, 2024 at 06:49:10PM GMT, Kornel Benko wrote:
> Am Tue, 17 Sep 2024 17:38:50 +0200
> schrieb Scott Kostyshak <skostysh at lyx.org>:
>
> > On Tue, Sep 17, 2024 at 04:12:42PM GMT, Jürgen Spitzmüller wrote:
> > > Am Dienstag, dem 17.09.2024 um 15:15 +0200 schrieb Kornel Benko:
> > > > 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.
> > >
> > > OK, the empty addition should be avoided (although it is harmless
> > > noise). Done. The duplication on repeated conversion is difficult to
> > > avoid.
> >
> > Thanks! The tests now pass for me.
> >
> > @Kornel: I still get the following error in the log:
> >
> > -- Create the corresponding .tex file
> > "/home/scott/lyxbuilds/master-master/CMakeBuild/autotests/out-home/AbC_ob3mao/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29.tex"
> > Error: Couldn't export file ----------------------------------------
> > No information for exporting the format LaTeX (pdflatex).
> >
> > So my questions from before are still relevant. Further, it makes me
> > think that we should do something with that error code (so that if there
> > is an error in the log the test fails).
> >
> > Scott
>
> Should be working now.
Very nice! Thanks!
What do you think of the attached patch? If you agree with the approach,
can you please double-check the code carefully? Specifically, I don't
know if my use of _err vs. _errx is correct. Feel free to adapt and
commit.
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ctests-exit-with-error-if-export-to-.tex-fails.patch
Type: text/x-diff
Size: 974 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240917/e285fb9a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240917/e285fb9a/attachment.asc>
More information about the lyx-devel
mailing list