diff options
author | Liu Yiding <yidingx.liu@intel.com> | 2019-06-19 12:01:09 +0800 |
---|---|---|
committer | Philip Li <philip.li@intel.com> | 2019-06-19 13:32:10 +0800 |
commit | b90a93467740241dc35c8cf08a8881778d9f9fef (patch) | |
tree | 61d3a054cd4be5f7d2a0cf3e7c9fdd875fbb4fc8 | |
parent | b54b52e46e6cc008cff6afcb514a96b92b2e7fce (diff) | |
download | lkp-tests-b90a93467740241dc35c8cf08a8881778d9f9fef.tar.gz |
stats/xfstests: adjust the format of xfstest
e.g: generic/050 2s
now: xfstests.050.pass
expected: xfstests.generic.050.pass
Signed-off-by: Liu Yiding <yidingx.liu@intel.com>
Signed-off-by: Philip Li <philip.li@intel.com>
-rwxr-xr-x | stats/xfstests | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stats/xfstests b/stats/xfstests index af395e32..7800ab93 100755 --- a/stats/xfstests +++ b/stats/xfstests @@ -17,7 +17,8 @@ def stat_line(line, results) when /^(ignored by lkp): (.*)/ puts "#{$2.tr('/', '.')}.ignored_by_lkp: 1" when /^(generic|ext4|xfs|btrfs)\/(\d\d\d)\s+(\d+)s/ - results['passes'] += $2.tr('/', '.').split + test = $1 + '.' + $2 + results['passes'].push test end end |