diff options
author | 2007-08-05 11:10:11 +0000 | |
---|---|---|
committer | 2007-08-05 11:10:11 +0000 | |
commit | 7ad4da049ba68d2db0225dc7b9b6758ba340a823 (patch) | |
tree | 5888f54d610af8b1b638ac8074db36f8f27b9120 | |
parent | fix curly in targets... broke it and no-one saw the difference, so it's (diff) | |
download | wireguard-openbsd-7ad4da049ba68d2db0225dc7b9b6758ba340a823.tar.xz wireguard-openbsd-7ad4da049ba68d2db0225dc7b9b6758ba340a823.zip |
check curly targets work. No need to look at the output. If curly targets don't
expand correctly, the Makefile will fail. If it works, then it's okay.
-rw-r--r-- | regress/usr.bin/make/Makefile | 7 | ||||
-rw-r--r-- | regress/usr.bin/make/mk25 | 9 |
2 files changed, 14 insertions, 2 deletions
diff --git a/regress/usr.bin/make/Makefile b/regress/usr.bin/make/Makefile index 72168520ac5..fe0beab46c4 100644 --- a/regress/usr.bin/make/Makefile +++ b/regress/usr.bin/make/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.24 2006/09/17 19:02:13 espie Exp $ +# $OpenBSD: Makefile,v 1.25 2007/08/05 11:10:11 espie Exp $ # We don't pass t7, t13, t14, t17, t19, t20 t21 t26 # and t16 yields piss poor performance -REGRESS_TARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17 t18 t19 t20 t21 t22 t23 t24 t25 t26 t27 +REGRESS_TARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17 t18 t19 t20 t21 t22 t23 t24 t25 t26 t27 t28 MALLOC_OPTIONS?=AZJ t1: t1.out @@ -115,6 +115,9 @@ t27: rm -f ${.OBJDIR}/t27.3rd if cd ${.CURDIR} && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk24 t27.3rd 2>/dev/null; then false; fi +t28: + cd ${.CURDIR} && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk25 all >/dev/null + z.a: touch $@ diff --git a/regress/usr.bin/make/mk25 b/regress/usr.bin/make/mk25 new file mode 100644 index 00000000000..e520e49c721 --- /dev/null +++ b/regress/usr.bin/make/mk25 @@ -0,0 +1,9 @@ +# $OpenBSD: mk25,v 1.1 2007/08/05 11:10:11 espie Exp $ +# verify that curly targets work correctly + +.PHONY: a b c d all + +all: a b c d + +{a,b,c,d}: + @echo "Building $@" |