also return unfiltered callanalyse output
authorAndrew Bartlett <abartlet@samba.org>
Sat, 18 Feb 2012 06:15:52 +0000 (17:15 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 18 Feb 2012 06:15:52 +0000 (17:15 +1100)
build_test.fns

index 173ba08..50ab43c 100644 (file)
@@ -347,11 +347,9 @@ action_callcatcherreport() {
                tdb|talloc|ldb)
                        callanalyse `find $builddir/bin -name \*.so*` $builddir/bin/* > $builddir/coverage/unused-fns.txt
                        ;;
-               samba_3_master*)
-                       callanalyse `find $builddir/bin -name \*.so*` $builddir/bin/* | grep -v -f $srcdir/callcatcher-exceptions.grep > $builddir/coverage/unused-fns.txt
-                       ;;
-               samba_4*)
-                       callanalyse `find $builddir/bin -name \*.so*` $builddir/bin/* | grep -v -f $srcdir/callcatcher-exceptions.grep > $builddir/coverage/unused-fns.txt
+               samba_3_master|samba_4*)
+                       callanalyse `find $builddir/bin -name \*.so*` $builddir/bin/* > $builddir/coverage/all-unused-fns.txt 
+                       grep -v -f $srcdir/callcatcher-exceptions.grep $builddir/coverage/all-unused-fns.txt > $builddir/coverage/unused-fns.txt
                        ;;
                esac
                rc=$?