Module Name: src
Committed By: rillig
Date: Sun Feb 5 15:11:19 UTC 2023
Modified Files:
src/tests/usr.bin/xlint/lint1: Makefile
Log Message:
tests/lint: fix resolving of wildcards in builds from other directories
To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/tests/usr.bin/xlint/lint1/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/usr.bin/xlint/lint1/Makefile
diff -u src/tests/usr.bin/xlint/lint1/Makefile:1.137 src/tests/usr.bin/xlint/lint1/Makefile:1.138
--- src/tests/usr.bin/xlint/lint1/Makefile:1.137 Sun Feb 5 12:36:56 2023
+++ src/tests/usr.bin/xlint/lint1/Makefile Sun Feb 5 15:11:19 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.137 2023/02/05 12:36:56 rillig Exp $
+# $NetBSD: Makefile,v 1.138 2023/02/05 15:11:19 rillig Exp $
NOMAN= # defined
@@ -17,7 +17,7 @@ archsubdir.sh:
@echo archsubdir=${ARCHSUBDIR} >${.TARGET}
FILESDIR= ${TESTSDIR}
-FILES+= ${:!echo *.c!}
+FILES+= ${:!cd ${FILESDIR} && echo *.c!}
FILES+= check-expect.lua
# Note: only works for adding tests.