Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
wfg
/
lkp-tests
/
bdfa3b8f7eb7456d5c1e926ebfc4e30e60b18707
/
.
/
stats
/
ndctl
blob: 5528c49774574cc46c41d504d535a39064efcf58 [
file
] [
log
] [
blame
]
#!/usr/bin/env ruby
stats
=
[]
nr_test
=
0
while
line
=
STDIN
.
gets
case
line
when
/^(
test
-.*):
(
PASS
|
SKIP
|
FAIL
)/
nr_test
+=
1
stats
<<
"#{$1}.#{$2.downcase}: 1"
end
end
stats
.
each
{|
stat
|
puts stat
}
puts
"total_test: #{nr_test}"