print summary to log file as we go so there's something to tail
use CPAN;
use Cwd;
use File::chdir;
-use File::Path qw( rmtree );
use IPC::Run3 qw( run3 );
my $status = $passed && $warned ? 'WARN' : $passed ? 'PASS' : 'FAIL';
- push @statuses, "$status: $project - " . $dist->base_id();
+ my $summary = "$status: $project - " . $dist->base_id();
+ print {$log} "$summary\n";
push @details, [ $project, $output ]
if $warned || ! $passed;
}
- for my $status (@statuses) {
- print {$log} "$status\n";
- }
-
if (@details) {
print {$log} "\n\n";