From: Kornel Benko Date: Thu, 26 Oct 2017 19:48:33 +0000 (+0200) Subject: Cmake export tests: Make test fail if there is some non-existant sub-file X-Git-Tag: lyx-2.4.0dev-acb2ca7b~4432 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d63a866106a088fbf42504215a0a9193437e70de;p=features.git Cmake export tests: Make test fail if there is some non-existant sub-file --- diff --git a/development/autotests/useSystemFonts.pl b/development/autotests/useSystemFonts.pl index 58006b097e..61eee4dd1a 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});