summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/usr.bin/make/Makefile12
-rw-r--r--regress/usr.bin/make/mk179
2 files changed, 17 insertions, 4 deletions
diff --git a/regress/usr.bin/make/Makefile b/regress/usr.bin/make/Makefile
index 4adb262be68..21e3255f661 100644
--- a/regress/usr.bin/make/Makefile
+++ b/regress/usr.bin/make/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.16 2002/04/16 12:00:14 espie Exp $
+# $OpenBSD: Makefile,v 1.17 2002/04/16 14:43:56 espie Exp $
-# We don't pass t7, t13, t14...
-REGRESSTARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16
+# We don't pass t7, t13, t14, t17
+# and t16 yields piss poor performance
+REGRESSTARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17
MALLOC_OPTIONS?=AZJ
t1: t1.out
@@ -75,13 +76,16 @@ t15:
t16:
cd ${.CURDIR} && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk16
+t17:
+ cd ${.CURDIR} && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk17
+
z.a:
touch $@
t1.out:
echo MACHINE_ARCH=${MACHINE_ARCH} >$@
-.PHONY: t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 regress
+.PHONY: t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17 regress
CLEANFILES+=t1.out z.a a.a a.b goodfile phony t15file
diff --git a/regress/usr.bin/make/mk17 b/regress/usr.bin/make/mk17
new file mode 100644
index 00000000000..af32be5b688
--- /dev/null
+++ b/regress/usr.bin/make/mk17
@@ -0,0 +1,9 @@
+# $OpenBSD: mk17,v 1.1 2002/04/16 14:43:56 espie Exp $
+# Bug in the cond parsing code
+
+TEST=Yes
+.for i in 0 1 2 3 4 5 6 7
+. for j in 0 1 2 3 4 5 6
+. if TEST
+. endfor
+.endfor