Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make make(1): remove line numbers from generated cod...
details: https://anonhg.NetBSD.org/src/rev/090de5eccbb0
branches: trunk
changeset: 1012548:090de5eccbb0
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Aug 01 21:48:17 2020 +0000
description:
make(1): remove line numbers from generated code coverage files
The line numbers make it difficult to spot changes in the code and
coverage if a line is added or removed from the code.
diffstat:
usr.bin/make/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 0332eb197c0d -r 090de5eccbb0 usr.bin/make/Makefile
--- a/usr.bin/make/Makefile Sat Aug 01 21:40:49 2020 +0000
+++ b/usr.bin/make/Makefile Sat Aug 01 21:48:17 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2020/07/31 07:29:21 rillig Exp $
+# $NetBSD: Makefile,v 1.78 2020/08/01 21:48:17 rillig Exp $
# @(#)Makefile 5.2 (Berkeley) 12/28/90
PROG= make
@@ -79,6 +79,7 @@
&& MAKEFLAGS= ${.MAKE} -r -m / TEST_MAKE=${TEST_MAKE:U${.OBJDIR}/${PROG:T}} ${.TARGET}
.if ${USE_COVERAGE} == yes
gcov ${SRCS}
+ sed -i 's,^\([^:]*\): *[0-9]*:,\1: ,' *.gcov
.endif
accept: .MAKE
Home |
Main Index |
Thread Index |
Old Index