Tool for filtering out unwanted output from Visual Studio

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-09-27 21:10:30 +00:00
commit 37cb71c021

11
SWIG/Tools/vcfilter Normal file
View file

@ -0,0 +1,11 @@
#!/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.
# warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
2>&1 dos2unix | grep -v "\.cxx$" | grep -v "\.c$" | grep -v "^ Creating library" | grep -v "^Generating Code" | grep -v "warning C4290:"