On Thu, Oct 26, 2017 at 07:49:36PM +0000, Kornel Benko wrote: > commit d63a866106a088fbf42504215a0a9193437e70de > Author: Kornel Benko <kor...@lyx.org> > Date: Thu Oct 26 21:48:33 2017 +0200 > > Cmake export tests: Make test fail if there is some non-existant sub-file > --- > development/autotests/useSystemFonts.pl | 7 +++++++ > 1 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/development/autotests/useSystemFonts.pl > b/development/autotests/useSystemFonts.pl > index 58006b0..61eee4d 100644 > --- a/development/autotests/useSystemFonts.pl > +++ b/development/autotests/useSystemFonts.pl > @@ -252,6 +252,13 @@ sub interpretedCopy($$$$) > $res += $res1; > } > } > + else { > + if (! -e "$f") { > + # Non relative (e.g. with absolute path) file should exist > + print "File $f not found\n"; > + diestack(""); > + } > + } > } > if ($foundrelative) { > $rF->[$fidx] = join($separator, @{$filelist});
Thanks, Kornel. Why not put the string inside "diestack" instead of separate print? Scott
signature.asc
Description: PGP signature