summaryrefslogtreecommitdiff
path: root/Tools/vcfilter
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/vcfilter')
-rwxr-xr-xTools/vcfilter10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tools/vcfilter b/Tools/vcfilter
new file mode 100755
index 0000000..2683fc2
--- /dev/null
+++ b/Tools/vcfilter
@@ -0,0 +1,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"
+