Module Name: src Committed By: rillig Date: Sun Mar 30 01:51:51 UTC 2025
Modified Files: src/usr.bin/make/unit-tests: varparse-errors.mk Log Message: tests/make: fix test for printing the stack trace Depending on the exact environment in which the test is run, the "./" path component may or may not be trimmed from the output. Use an absolute path instead. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/usr.bin/make/unit-tests/varparse-errors.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/varparse-errors.mk diff -u src/usr.bin/make/unit-tests/varparse-errors.mk:1.22 src/usr.bin/make/unit-tests/varparse-errors.mk:1.23 --- src/usr.bin/make/unit-tests/varparse-errors.mk:1.22 Sat Mar 29 23:50:07 2025 +++ src/usr.bin/make/unit-tests/varparse-errors.mk Sun Mar 30 01:51:51 2025 @@ -1,4 +1,4 @@ -# $NetBSD: varparse-errors.mk,v 1.22 2025/03/29 23:50:07 rillig Exp $ +# $NetBSD: varparse-errors.mk,v 1.23 2025/03/30 01:51:51 rillig Exp $ # Tests for parsing and evaluating all kinds of expressions. # @@ -122,6 +122,6 @@ UNCLOSED:= ${:U:localtime _!= echo '.info $${VALUE}' > varparse-errors.tmp VALUE= ${INDIRECT} INDIRECT= ${:Z} -# The "./" is necessary to skip the directory cache. -.include "./varparse-errors.tmp" +# The "${.OBJDIR}/" is necessary to skip the directory cache. +.include "${.OBJDIR}/varparse-errors.tmp" _!= rm -f varparse-errors.tmp