summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2002-04-16 14:43:57 +0000
committerMarc Espie <espie@cvs.openbsd.org>2002-04-16 14:43:57 +0000
commita483380c2a4c33857f010e1c0ed7d96d9b319a2c (patch)
tree770e96780ba4499e88e817916f17c58114915c67 /regress/usr.bin
parentea13d77ca17247e69ee5c2724d9671e5731185b0 (diff)
Bug in cond-parser, ends up having too many open conds.
Diffstat (limited to 'regress/usr.bin')
-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