Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 24 lines (22 sloc) 0.473 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#!/usr/bin/env ruby
# Use this to cut out the crud from make check.
# Use like this:
# make check 2>&1 | ruby ../make-check-filter.rb
# See Makefile.am
pats = ["^(?:Loading",
        '(re)?make\[',
        "Making check in",
        '\(cd \.\.',
        "make -C",
        "Test-Unit",
        "Fontifying",
        "`flet'",
        '\s*$',
        '##[<>]+$'
       ].join('|') + ')'
# puts pats
skip_re = /#{pats}/

while gets()
  next if $_ =~ skip_re
  puts $_
end
Something went wrong with that request. Please try again.