commit 72c12d25286ec4b0aa6c9b0e79a2246693365d10 Author: Kornel Benko <kor...@lyx.org> Date: Sun Jul 20 12:35:40 2025 +0200
Cmake tests: Ignore missing graphics files. The pdf creation will break, if the file is important anyway. --- development/autotests/useSystemFonts.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/development/autotests/useSystemFonts.pl b/development/autotests/useSystemFonts.pl index 1265d2003a..1b5347128a 100644 --- a/development/autotests/useSystemFonts.pl +++ b/development/autotests/useSystemFonts.pl @@ -255,6 +255,11 @@ sub interpretedCopy($$$$) # filetype::prefix_only should be interpreted by latex print "WARNING: Prefixed file \"$f\" not found, at \"$source:$fi_line_no\"\n"; } + elsif ($rStatus->{"filetype"} eq "copy_only") { + # ignore the missing file. If there is an error, then the creation of pdf + # will fail. If it is part of deleted text, then it is not even an error. + print "WARNING: Copy only file \"$f\" not found, at \"$source:$fi_line_no\"\n"; + } else { # Collect the path-error-messages push(@path_errors, "File \"$f(" . $rStatus->{"filetype"} . ")\" not found, at \"$source:$fi_line_no\""); -- lyx-cvs mailing list lyx-cvs@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-cvs