Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make/unit-tests Adjust test for the new behavior: % ...



details:   https://anonhg.NetBSD.org/src/rev/2a84c0e57417
branches:  trunk
changeset: 971545:2a84c0e57417
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 27 14:07:22 2020 +0000

description:
Adjust test for the new behavior: % on hls and no % on the rhs does not
prepend the lhs to the rhs.

diffstat:

 usr.bin/make/unit-tests/varmod-edge.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 954baca0aacf -r 2a84c0e57417 usr.bin/make/unit-tests/varmod-edge.mk
--- a/usr.bin/make/unit-tests/varmod-edge.mk    Mon Apr 27 09:10:45 2020 +0000
+++ b/usr.bin/make/unit-tests/varmod-edge.mk    Mon Apr 27 14:07:22 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: varmod-edge.mk,v 1.6 2019/12/02 01:01:08 rillig Exp $
+# $NetBSD: varmod-edge.mk,v 1.7 2020/04/27 14:07:22 christos Exp $
 #
 # Tests for edge cases in variable modifiers.
 #
@@ -140,7 +140,7 @@
 # The = in the := modifier can be escaped.
 TESTS+=                eq-bs
 INP.eq-bs=     file.c file.c=%.o
-MOD.eq-bs=     ${INP.eq-bs:%.c\=%.o=.ext}
+MOD.eq-bs=     ${INP.eq-bs:%.c\=%.o=%.ext}
 EXP.eq-bs=     file.c file.ext
 
 # Having only an escaped = results in a parse error.



Home | Main Index | Thread Index | Old Index