Cmake export tests: Make test fail if there is some non-existant sub-file

This commit is contained in:
Kornel Benko 2017-10-26 21:48:33 +02:00
parent 6709f74873
commit d63a866106

View File

@ -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});