Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make/unit-tests tests/make: clean up after testing t...
details: https://anonhg.NetBSD.org/src/rev/7cec80c4a82d
branches: trunk
changeset: 1026776:7cec80c4a82d
user: rillig <rillig%NetBSD.org@localhost>
date: Mon Dec 06 22:35:20 2021 +0000
description:
tests/make: clean up after testing the option '-T'
diffstat:
usr.bin/make/unit-tests/opt-tracefile.mk | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r cd44b9acddff -r 7cec80c4a82d usr.bin/make/unit-tests/opt-tracefile.mk
--- a/usr.bin/make/unit-tests/opt-tracefile.mk Mon Dec 06 22:13:56 2021 +0000
+++ b/usr.bin/make/unit-tests/opt-tracefile.mk Mon Dec 06 22:35:20 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: opt-tracefile.mk,v 1.4 2021/12/04 07:23:43 rillig Exp $
+# $NetBSD: opt-tracefile.mk,v 1.5 2021/12/06 22:35:20 rillig Exp $
#
# Tests for the command line option '-T', which in jobs mode appends a trace
# record to a trace log whenever a job is started or completed.
@@ -8,6 +8,7 @@
@${MAKE} -f ${MAKEFILE} -j1 -Topt-tracefile.log trace
# Remove timestamps, process IDs and directory paths.
@awk '{ print $$2, $$3 }' opt-tracefile.log
+ @rm opt-tracefile.log
trace dependency1 dependency2: .PHONY
@echo 'Making ${.TARGET} from ${.ALLSRC:S,^$,<nothing>,W}.'
Home |
Main Index |
Thread Index |
Old Index