Adding a dumb but essential check to see if any file was touched
This commit was SVN r5478.
Этот коммит содержится в:
родитель
ed60597034
Коммит
ea0e1de399
@ -234,9 +234,11 @@ sub generate_stats {
|
||||
}
|
||||
close(RESULT);
|
||||
}
|
||||
print COVERAGE "==============================================================\n";
|
||||
print COVERAGE "Average coverage was: ", $average/$num_files, " \n";
|
||||
print COVERAGE "==============================================================\n";
|
||||
if ($num_files != 0){
|
||||
print COVERAGE "==============================================================\n";
|
||||
print COVERAGE "Average coverage was: ", $average/$num_files, " \n";
|
||||
print COVERAGE "==============================================================\n";
|
||||
}
|
||||
close(INPUT);
|
||||
close(COVERAGE);
|
||||
if ($calculate == 1) {
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user