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
signature.asc
Description: PGP signature
-- lyx-devel mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-devel
