Sync /tmp/xchg to ensure that the coverage data is flushed
This commit is contained in:
parent
b0c2354809
commit
ad7c518e45
|
@ -144,6 +144,13 @@ sub runTests {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$log->nest("syncing", sub {
|
||||||
|
foreach my $vm (values %vms) {
|
||||||
|
next unless $vm->isUp();
|
||||||
|
$vm->execute("sync /tmp/xchg");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
if ($nrTests != 0) {
|
if ($nrTests != 0) {
|
||||||
$log->log("$nrSucceeded out of $nrTests tests succeeded",
|
$log->log("$nrSucceeded out of $nrTests tests succeeded",
|
||||||
($nrSucceeded < $nrTests ? { error => 1 } : { }));
|
($nrSucceeded < $nrTests ? { error => 1 } : { }));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user