mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Cmake batch tests: Check also if all expected files are created
This commit is contained in:
parent
1a36fee79d
commit
3319664d53
@ -96,6 +96,9 @@ if (defined($Tests{$test}->{commands})) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
system1(@command);
|
system1(@command);
|
||||||
|
for my $f (@created) {
|
||||||
|
die("File \"$f\" not created") if (! -e "$f");
|
||||||
|
}
|
||||||
die("Expected ($expected) and created ($created) files differ") if ($docompare && compare($expected, $created) != 0);
|
die("Expected ($expected) and created ($created) files differ") if ($docompare && compare($expected, $created) != 0);
|
||||||
|
|
||||||
exit(0);
|
exit(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user