chiark
/
gitweb
/
~ian
/
version-charset-test.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95b0fc6
)
check: print totals
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 4 Nov 2016 16:25:36 +0000
(16:25 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 4 Nov 2016 16:25:36 +0000
(16:25 +0000)
check
patch
|
blob
|
history
diff --git
a/check
b/check
index 7ebdda0b7ef0db620bfa05f7351003d8e1acd086..290aac80f94270ac92c4d7794b8e6eb0331d249d 100755
(executable)
--- a/
check
+++ b/
check
@@
-33,6
+33,7
@@
perl -we '
our $file;
our $count;
our $batch=0;
+ our $total=0;
our @tasks;
my @freecpus = qw('"$cpus"');
@@
-73,6
+74,7
@@
perl -we '
push @tasks, [ $pid, $cpu, $batch ];
$batch++;
$file = undef;
+ $total += $count;
$count = 0;
}
@@
-87,5
+89,5
@@
perl -we '
STDIN->error and die $!;
complete_batch();
await_task while @tasks;
- print STDERR "check
happy all done
\n";
+ print STDERR "check
exiting (total=$total)
\n";
'