summaryrefslogtreecommitdiff
path: root/regress/usr.bin/m4/Makefile
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-09-19 19:15:09 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-09-19 19:15:09 +0000
commita1c73a597f47b8cd07996bd139d1e9aeadb8dba3 (patch)
tree34123f81fa558bb199f799bfa74bf2b55f60ea5a /regress/usr.bin/m4/Makefile
parentd967856907c74ff154b89f43a061eeb26fe13b88 (diff)
Add $OpenBSD$.
A testcase for redefining builtins.
Diffstat (limited to 'regress/usr.bin/m4/Makefile')
-rw-r--r--regress/usr.bin/m4/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/regress/usr.bin/m4/Makefile b/regress/usr.bin/m4/Makefile
index 739c9a07a2d..2cfa2e40530 100644
--- a/regress/usr.bin/m4/Makefile
+++ b/regress/usr.bin/m4/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2001/09/17 15:46:02 espie Exp $
+# $OpenBSD: Makefile,v 1.9 2001/09/19 19:15:08 espie Exp $
# $NetBSD: Makefile,v 1.2 1999/02/13 02:54:33 lukem Exp $
NOMAN=
@@ -10,8 +10,10 @@ M4=m4
.SUFFIXES: .m4 .m4.uu
CLEANFILES+= ff_after_dnl.m4 strangequotes.m4 fibo.out
-regress: test-ff_after_dnl test-m4wrap test-fibo test-patterns trip \
- test-strangequotes
+ALL_TESTS= test-ff_after_dnl test-m4wrap test-fibo test-patterns trip \
+ test-strangequotes test-redef
+
+regress: ${ALL_TESTS}
test-ff_after_dnl: ff_after_dnl.m4
${M4} ff_after_dnl.m4 | diff - ${.CURDIR}/ff_after_dnl.out
@@ -37,7 +39,9 @@ trip:
test-strangequotes: strangequotes.m4
${M4} strangequotes.m4| diff - ${.CURDIR}/strangequotes.out
-.PHONY: test-ff_after_dnl test-m4wrap test-patterns test-fibo trip \
- test-strangequotes
+test-redef:
+ ${M4} ${.CURDIR}/redef.m4 | diff - ${.CURDIR}/redef.out
+
+.PHONY: ${ALL_TESTS}
.include <bsd.prog.mk>