Module Name: src
Committed By: sjg
Date: Sat Jun 1 15:54:41 UTC 2024
Modified Files:
src/usr.bin/make/unit-tests: Makefile
Log Message:
Run check-expect.lua in .CURDIR
To generate a diff of this commit:
cvs rdiff -u -r1.346 -r1.347 src/usr.bin/make/unit-tests/Makefile
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/Makefile
diff -u src/usr.bin/make/unit-tests/Makefile:1.346 src/usr.bin/make/unit-tests/Makefile:1.347
--- src/usr.bin/make/unit-tests/Makefile:1.346 Sat Jun 1 10:06:23 2024
+++ src/usr.bin/make/unit-tests/Makefile Sat Jun 1 15:54:40 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.346 2024/06/01 10:06:23 rillig Exp $
+# $NetBSD: Makefile,v 1.347 2024/06/01 15:54:40 sjg Exp $
#
# Unit tests for make(1)
#
@@ -776,7 +776,7 @@ test: ${OUTFILES} .PHONY
lua=${LUA:Ulua} ; \
have_lua=$$("$$lua" -e 'print "yes"' 2>&1) ; \
if [ "$$have_lua" = "yes" ]; then \
- "$$lua" ./check-expect.lua *.mk; \
+ (cd ${.CURDIR} && "$$lua" ./check-expect.lua *.mk); \
fi; \
fi