From owner-svn-src-projects@freebsd.org Tue Jul 25 15:58:45 2017 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A249DC7F6CD for ; Tue, 25 Jul 2017 15:58:45 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 6905380B69; Tue, 25 Jul 2017 15:58:45 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6PFwihI060273; Tue, 25 Jul 2017 15:58:44 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6PFwiuJ060272; Tue, 25 Jul 2017 15:58:44 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201707251558.v6PFwiuJ060272@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Ngie Cooper Date: Tue, 25 Jul 2017 15:58:44 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r321482 - projects/runtime-coverage/etc X-SVN-Group: projects X-SVN-Commit-Author: ngie X-SVN-Commit-Paths: projects/runtime-coverage/etc X-SVN-Commit-Revision: 321482 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2017 15:58:45 -0000 Author: ngie Date: Tue Jul 25 15:58:44 2017 New Revision: 321482 URL: https://svnweb.freebsd.org/changeset/base/321482 Log: Spam BSD.coverage.dist, similar to BSD.debug.dist, unconditionally on /usr/lib/cov /usr/lib/cov was chosen because while there isn't a standardized upstream path that's used for storing .gcda's, /usr/lib/cov seemed like a good symmetry with the /usr/lib/debug for debug files for gdb, et al. Parameterize out directories that are used to spam BSD.debug.dist, BSD.lib32.dist, BSD.libsoft.dist, and BSD.tests.dist, and spam on /usr/lib/cov . Modified: projects/runtime-coverage/etc/Makefile Modified: projects/runtime-coverage/etc/Makefile ============================================================================== --- projects/runtime-coverage/etc/Makefile Tue Jul 25 15:33:34 2017 (r321481) +++ projects/runtime-coverage/etc/Makefile Tue Jul 25 15:58:44 2017 (r321482) @@ -331,18 +331,22 @@ MTREES= mtree/BSD.root.dist / \ mtree/BSD.var.dist /var \ mtree/BSD.usr.dist /usr \ mtree/BSD.include.dist /usr/include \ + mtree/BSD.coverage.dist /usr/lib \ mtree/BSD.debug.dist /usr/lib .if ${MK_LIB32} != "no" -MTREES+= mtree/BSD.lib32.dist /usr -MTREES+= mtree/BSD.lib32.dist /usr/lib/debug/usr +.for dir in /usr /usr/lib/cov/usr /usr/lib/debug/usr +MTREES+= mtree/BSD.lib32.dist ${dir} +.endfor .endif .if ${MK_LIBSOFT} != "no" -MTREES+= mtree/BSD.libsoft.dist /usr -MTREES+= mtree/BSD.libsoft.dist /usr/lib/debug/usr +.for dir in /usr /usr/lib/cov/usr /usr/lib/debug/usr +MTREES+= mtree/BSD.libsoft.dist ${dir} +.endfor .endif .if ${MK_TESTS} != "no" -MTREES+= mtree/BSD.tests.dist ${TESTSBASE} -MTREES+= mtree/BSD.tests.dist /usr/lib/debug/${TESTSBASE} +.for dir in ${TESTSBASE} /usr/lib/cov/${TESTSBASE} /usr/lib/debug/${TESTSBASE} +MTREES+= mtree/BSD.tests.dist ${dir} +.endfor .endif .if ${MK_SENDMAIL} != "no" MTREES+= mtree/BSD.sendmail.dist /