Module Name: src
Committed By: rillig
Date: Sat Dec 4 07:23:43 UTC 2021
Modified Files:
src/usr.bin/make/unit-tests: opt-tracefile.mk
Log Message:
tests/make: fix test for option '-T'
When run via ATF, the test makefile is not in the current directory.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/opt-tracefile.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/unit-tests/opt-tracefile.mk
diff -u src/usr.bin/make/unit-tests/opt-tracefile.mk:1.3 src/usr.bin/make/unit-tests/opt-tracefile.mk:1.4
--- src/usr.bin/make/unit-tests/opt-tracefile.mk:1.3 Fri Dec 3 21:55:10 2021
+++ src/usr.bin/make/unit-tests/opt-tracefile.mk Sat Dec 4 07:23:43 2021
@@ -1,11 +1,11 @@
-# $NetBSD: opt-tracefile.mk,v 1.3 2021/12/03 21:55:10 rillig Exp $
+# $NetBSD: opt-tracefile.mk,v 1.4 2021/12/04 07:23:43 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.
all: .PHONY
@rm -f opt-tracefile.log
- @${MAKE} -f opt-tracefile.mk -j1 -Topt-tracefile.log trace
+ @${MAKE} -f ${MAKEFILE} -j1 -Topt-tracefile.log trace
# Remove timestamps, process IDs and directory paths.
@awk '{ print $$2, $$3 }' opt-tracefile.log