From owner-svn-ports-head@FreeBSD.ORG Mon Mar 23 20:41:14 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 63915F86; Mon, 23 Mar 2015 20:41:14 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F268A35; Mon, 23 Mar 2015 20:41:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2NKfDQO089252; Mon, 23 Mar 2015 20:41:13 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2NKfDLq089251; Mon, 23 Mar 2015 20:41:13 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201503232041.t2NKfDLq089251@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Mon, 23 Mar 2015 20:41:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382038 - head/Mk/Scripts X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 20:41:14 -0000 Author: feld Date: Mon Mar 23 20:41:13 2015 New Revision: 382038 URL: https://svnweb.freebsd.org/changeset/ports/382038 QAT: https://qat.redports.org/buildarchive/r382038/ Log: Speed up checking for stripped binaries Skip ascii files. This significantly speeds up stage-qa on ports with a considerable amount of text files being installed. Differential Revision: https://reviews.freebsd.org/D2121 Approved by: bdrewery Modified: head/Mk/Scripts/qa.sh Modified: head/Mk/Scripts/qa.sh ============================================================================== --- head/Mk/Scripts/qa.sh Mon Mar 23 20:16:01 2015 (r382037) +++ head/Mk/Scripts/qa.sh Mon Mar 23 20:41:13 2015 (r382038) @@ -142,7 +142,7 @@ stripped() { # Split file and result into 2 lines and read separately to ensure # files with spaces are kept intact. find ${STAGEDIR} -type f \ - -exec /usr/bin/file -nNF "${LF}" {} + | + -exec /usr/bin/file --exclude ascii -nNF "${LF}" {} + | while read f; do read output case "${output}" in