Re: ctest layout test failing for latexcolors.module

Scott Kostyshak <[email protected]>
Newsgroups gmane.editors.lyx.devel
Message-ID <aa80kUwnYQ_pmBCu@jimmy>
On Mon, Mar 09, 2026 at 06:58:50PM +0100, Jürgen Spitzmüller wrote:
> Am Montag, dem 09.03.2026 um 10:22 +0100 schrieb Scott Kostyshak:
> > The following fails:
> > 
> >   ctest -R "check_layout/latexcolors.module"
> > 
> > The log gives:
> > 
> > -- _err = "LyX: Unknown TextClass tag `LatexColors:airforceblue'
> > [around line 10 of file [layouts/latexcolors.module] current token:
> > 'LatexColors:airforceblue' context: '']
> > 
> > I don't know what these tests actually do. And I know this new module
> > relies on a new feature, so it may be that the tests need to adapt.
> 
> Quite possible, I don't know either. However, "make check" passes.

I am not sure, but I wonder if "make check" may not actually use
check_layout to check modules. It might only check files ending in
".layout".

I'm not sure if this is the correct file to look at, but indeed this
file only checks layout files:

repo/src/tests/test_layout

The ctests (inside src/tests/CMakeLists.txt) seem to make some kind of
wrapper file with a layout extension (because check_layout expects a
.layout extension) that inputs the module.

So in the end, it is this layout that is tested and that gives an error:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{testlatexcolors}
Format 74
Style Standard
 LabelType No_Label
 Category MainText
End
Input latexcolors.module

I'm not sure what else to look at. If no one else has an idea, we may
just consider ignoring this test.

Scott

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEMfkICpsJzYuNuGlOA4ZnarZHC+sFAmmvNy8ACgkQA4ZnarZH
C+tvEQf+MityUUni3DwCrEvSb6bkvmBptweqf3KWYaSQvBAm7v1wVC5jkoDBKbvW
+DnhfxUb5vGeQM/AnGRiJdLmHQxqQKBGVwYJlXgvmIpWqoBG8aQb/4+jzjegzGBT
Qe7BmOPQ/6I6dp1PTB9cdSVfL5EQgDwAzKBRldMLWLIZliXXYdzwLh7wH7PaGETq
DOuUG5+MkdcBYN/VRJ2PukwhrSJEJog/LPUqQ/Hm/7epOD68DKioACXT6KAK0NvI
ZB4cWRbW6p0KWIj0vmCl1ai0eEkLCac5SYL34cPLNhiun8c6UV7rOB08iajCi92M
7KJBlExjoLGNFfmog9wg9m4FOtMGdA==
=QrJJ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.