Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/usr.bin/xlint/lint1 tests/lint: fix resolving of wildc...



details:   https://anonhg.NetBSD.org/src/rev/2f115385ec33
branches:  trunk
changeset: 373365:2f115385ec33
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Feb 05 15:11:19 2023 +0000

description:
tests/lint: fix resolving of wildcards in builds from other directories

diffstat:

 tests/usr.bin/xlint/lint1/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3224dd4349c0 -r 2f115385ec33 tests/usr.bin/xlint/lint1/Makefile
--- a/tests/usr.bin/xlint/lint1/Makefile        Sun Feb 05 14:53:38 2023 +0000
+++ b/tests/usr.bin/xlint/lint1/Makefile        Sun Feb 05 15:11:19 2023 +0000
@@ -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 @@
        @echo archsubdir=${ARCHSUBDIR} >${.TARGET}
 
 FILESDIR=      ${TESTSDIR}
-FILES+=                ${:!echo *.c!}
+FILES+=                ${:!cd ${FILESDIR} && echo *.c!}
 FILES+=                check-expect.lua
 
 # Note: only works for adding tests.



Home | Main Index | Thread Index | Old Index