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:
parent
1d4711c429
commit
37cb71c021
1 changed files with 11 additions and 0 deletions
11
SWIG/Tools/vcfilter
Normal file
11
SWIG/Tools/vcfilter
Normal 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:"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue