aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiu Yiding <yidingx.liu@intel.com>2019-06-19 12:01:09 +0800
committerPhilip Li <philip.li@intel.com>2019-06-19 13:32:10 +0800
commitb90a93467740241dc35c8cf08a8881778d9f9fef (patch)
tree61d3a054cd4be5f7d2a0cf3e7c9fdd875fbb4fc8
parentb54b52e46e6cc008cff6afcb514a96b92b2e7fce (diff)
downloadlkp-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-xstats/xfstests3
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