diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-07-06 17:13:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-07-07 09:41:58 +0200 |
commit | f58bca9d8ca01db299f1f62da61f2c8118c8f822 (patch) | |
tree | b9ec39933906d309794c90b5cf5429e086e01ec7 /bin | |
parent | bc29aa9f4ceaa6060c7290607c65cf0cb6276ea8 (diff) |
drop findunusedcode
Change-Id: If17801c57d8333322985e36f09a022d6c317ba6d
Reviewed-on: https://gerrit.libreoffice.org/39663
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/findunusedcode | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/bin/findunusedcode b/bin/findunusedcode deleted file mode 100755 index 526b2f706859..000000000000 --- a/bin/findunusedcode +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/bash -set -e -SRCDIR=$1 -GNUMAKE=$2 - -cd ${SRCDIR} -which callcatcher > /dev/null 2>&1 || \ - (echo "callcatcher not installed" && false) - -mkdir -p ${SRCDIR}/callcatcher -cd ${SRCDIR}/callcatcher - -echo "--without-doxygen ---enable-verbose ---enable-gio ---enable-packagekit ---enable-extension-integration ---enable-evolution2 ---enable-online-update ---enable-dbgutil ---enable-werror ---enable-gtk3 ---enable-kde4 ---enable-dbus ---enable-gstreamer-1-0 ---disable-gstreamer-0-10" \ - > autogen.input - -export CC="callcatcher ${CC:-gcc}" -export CXX="callcatcher ${CXX:-g++}" -export AR="callarchive ${AR:-ar}" - -/bin/env -i CC="$CC" CXX="$CXX" AR="$AR" /bin/bash -l ../autogen.sh - -export dbglevel=2 - -make clean && make check - -callanalyse \ - instdir/program/* \ - instdir/sdk/bin/* \ - workdir/LinkTarget/*/* workdir/LinkTarget/*/*/* \ - workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit.so* \ - > unusedcode.all - -grep ::.*\( unusedcode.all \ - | grep -v ^Atom \ - | grep -v ^atom:: \ - | grep -v ^boost:: \ - | grep -v ^CIcc \ - | grep -v ^CLuceneError:: \ - | grep -v ^cppu:: \ - | grep -v ^CppUnit:: \ - | grep -v ^Dde \ - | grep -v ^graphite2:: \ - | grep -v ^jvmaccess:: \ - | grep -v ^Json:: \ - | grep -v ^libcdr:: \ - | grep -v ^libcmis:: \ - | grep -v ^libgltf:: \ - | grep -v ^libmspub:: \ - | grep -v ^libvisio:: \ - | grep -v ^libwpg:: \ - | grep -v ^libwps_tools_win:: \ - | grep -v ^lucene:: \ - | grep -v ^Matrix3d:: \ - | grep -v ^RelatedMultipart:: \ - | grep -v ^salhelper:: \ - | grep -v ^VSDInternalStream:: \ - | grep -v ^WP1 \ - | grep -v ^WP3 \ - | grep -v ^WP42 \ - | grep -v ^WP6 \ - | grep -v ^WPG \ - | grep -v ^WPS \ - | grep -v WPX \ - | grep -v ^WSObject \ - | grep -v ^OAuth2Handler \ - | grep -v ^COLLADABU:: \ - | grep -v ^COLLADAFW:: \ - | grep -v ^COLLADASaxFWL14:: \ - | grep -v ^COLLADASaxFWL15:: \ - | grep -v ^COLLADASaxFWL:: \ - | grep -v ^o3dgc:: \ - | grep -v ^MathML:: \ - | grep -v ^GeneratedSaxParser:: \ - | grep -v ^GLTF:: \ - | grep -v ^OneDrive \ - | grep -v ^SharePoint \ - | grep -v ^VersioningService:: \ - | grep -v ^WSSession:: \ - | grep -v ^NavigationService:: \ - | grep -v ^ObjectService:: \ - | grep -v ^RepositoryService:: \ - | grep -v ^GDriveDocument:: \ - | grep -v ^GDriveFolder:: \ - | grep -v ^GDriveProperty:: \ - | grep -v ^GDriveSession:: \ - > ../unusedcode.easy |