mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
Sync /tmp/xchg to ensure that the coverage data is flushed
This commit is contained in:
parent
b0c2354809
commit
ad7c518e45
1 changed files with 7 additions and 0 deletions
|
@ -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) {
|
||||
$log->log("$nrSucceeded out of $nrTests tests succeeded",
|
||||
($nrSucceeded < $nrTests ? { error => 1 } : { }));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue