diff options
| author | rillig <rillig@NetBSD.org> | 2021-12-06 22:35:20 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2021-12-06 22:35:20 +0000 |
| commit | bf612bd3b68fc07d77690cfe1844b1eb741bfc47 (patch) | |
| tree | 77a75ba0a7f979c64f3e60be064f806ddc7b4a55 /usr.bin/make | |
| parent | 02789b0e5262d2b2c2358dad7d7531980ceebecc (diff) | |
tests/make: clean up after testing the option '-T'
Diffstat (limited to 'usr.bin/make')
| -rw-r--r-- | usr.bin/make/unit-tests/opt-tracefile.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/make/unit-tests/opt-tracefile.mk b/usr.bin/make/unit-tests/opt-tracefile.mk index efd166e7973..29182468060 100644 --- a/usr.bin/make/unit-tests/opt-tracefile.mk +++ b/usr.bin/make/unit-tests/opt-tracefile.mk @@ -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 @@ all: .PHONY @${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}.' |
