summaryrefslogtreecommitdiff
path: root/Tools/vcfilter
blob: 2683fc2dbd24b29a4b3ead9330e2fca128077530 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# This is a simple utility for Cygwin/Mingw which is useful when running the SWIG
# test-suite through Visual Studio. If the output from the test-suite is piped
# through this utility, it will filter the junk that the compiler generates.
# Typical usage: make check | vcfilter

# dos2unix needed for ^ and $ to work.
2>&1 dos2unix | grep -v "\.cxx$" | grep -v "\.c$" | grep -v "^   Creating library" | grep -v "^Generating Code"