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 source directory f...



details:   https://anonhg.NetBSD.org/src/rev/70f7374914b2
branches:  trunk
changeset: 373367:70f7374914b2
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Feb 05 17:23:01 2023 +0000

description:
tests/lint: fix source directory for looking up the .exp-ln files

diffstat:

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

diffs (18 lines):

diff -r 5622098bdfa5 -r 70f7374914b2 tests/usr.bin/xlint/lint1/Makefile
--- a/tests/usr.bin/xlint/lint1/Makefile        Sun Feb 05 16:11:56 2023 +0000
+++ b/tests/usr.bin/xlint/lint1/Makefile        Sun Feb 05 17:23:01 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.139 2023/02/05 16:11:56 rillig Exp $
+# $NetBSD: Makefile,v 1.140 2023/02/05 17:23:01 rillig Exp $
 
 NOMAN=         # defined
 
@@ -17,7 +17,7 @@
        @echo archsubdir=${ARCHSUBDIR} >${.TARGET}
 
 FILESDIR=      ${TESTSDIR}
-FILES+=                ${:!cd ${FILESDIR} && echo *.c *.exp-ln!}
+FILES+=                ${:!cd ${.CURDIR} && echo *.c *.exp-ln!}
 FILES+=                check-expect.lua
 
 # Note: only works for adding tests.



Home | Main Index | Thread Index | Old Index