Upstream version 1.3.40
[profile/ivi/swig.git] / Tools / vcfilter
1 #!/bin/sh
2
3 # This is a simple utility for Cygwin/Mingw which is useful when running the SWIG
4 # test-suite through Visual Studio. If the output from the test-suite is piped
5 # through this utility, it will filter the junk that the compiler generates.
6 # Typical usage: make check | vcfilter
7
8 # dos2unix needed for ^ and $ to work.
9 2>&1 dos2unix | grep -v "\.cxx$" | grep -v "\.c$" | grep -v "^   Creating library" | grep -v "^Generating Code"
10