diff --git a/stats/kernel_selftests b/stats/kernel_selftests index 85954927c..a9474bc01 100755 --- a/stats/kernel_selftests +++ b/stats/kernel_selftests @@ -63,21 +63,6 @@ def x86_stat(line, _x86, stats) end end -def sigaltstack_stat(line, sigaltstack, stats) - case line - when /gcc -Wall .+ -o (.+)/ - sigaltstack['subtest'] = $1 - when /^(\[FAIL\]|mmap)/ - stats << "sigaltstack.#{sigaltstack['subtest']}.fail: 1" - sigaltstack['subtest'] = nil - when /Test passed/ - stats << "sigaltstack.#{sigaltstack['subtest']}.pass: 1" - sigaltstack['subtest'] = nil - when %r{make: Leaving directory .*/(.*)'} - stats << "sigaltstack.#{sigaltstack['subtest']}.skip: 1" if sigaltstack['subtest'] - end -end - while (line = STDIN.gets) line = line.remediate_invalid_byte_sequence(replace: '_') unless line.valid_encoding? @@ -89,8 +74,6 @@ while (line = STDIN.gets) memory_hotplug_stat(line, tests_stats['memory-hotplug'], stats) elsif testname == 'mount' mount_stat(line, tests_stats['mount'], stats) - elsif testname == 'sigaltstack' - sigaltstack_stat(line, tests_stats['sigaltstack'], stats) else # rli9 FIXME: consider the input has messed text like Entering doesn't match with Leaving testname = nil @@ -124,8 +107,6 @@ while (line = STDIN.gets) mount_stat(line, tests_stats['mount'], stats) elsif testname == 'x86' x86_stat(line, tests_stats['x86'], stats) - elsif testname == 'sigaltstack' - sigaltstack_stat(line, tests_stats['sigaltstack'], stats) end end end