summaryrefslogtreecommitdiff
path: root/regress/usr.bin/tsort/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin/tsort/Makefile')
-rw-r--r--regress/usr.bin/tsort/Makefile29
1 files changed, 19 insertions, 10 deletions
diff --git a/regress/usr.bin/tsort/Makefile b/regress/usr.bin/tsort/Makefile
index 275638eaa3e..dd79efe6044 100644
--- a/regress/usr.bin/tsort/Makefile
+++ b/regress/usr.bin/tsort/Makefile
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.3 2001/07/09 10:48:03 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2001/07/12 14:06:02 espie Exp $
NOMAN=
NOPROG=
-regress: t1 t2 t3 t4 #t6
+regress: t1 t2 t3 t4 t5 t6
t1: t1.out
perl ${.CURDIR}/tsort-check t1.out ${.CURDIR}/pairs1
@@ -12,25 +12,34 @@ t2: t2.out
perl ${.CURDIR}/normalize-cycles <t2.out|head -1|diff - ${.CURDIR}/t2.canonical
t3: t3.out pairs3
- time perl ${.CURDIR}/tsort-check t3.out pairs3
+ perl ${.CURDIR}/tsort-check t3.out pairs3
t4: t4.out pairs4
- time perl ${.CURDIR}/tsort-check t4.out pairs4
+ perl ${.CURDIR}/tsort-check t4.out pairs4
-t6:
- tsort <pairs6
+t5: t5.out
+ perl ${.CURDIR}/tsort-check t5.out ${.CURDIR}/pairs5
+
+t6: t6.out
+ perl ${.CURDIR}/tsort-check t6.out ${.CURDIR}/pairs6
t1.out:
- tsort <${.CURDIR}/pairs1 >$@
+ tsort <${.CURDIR}/pairs1 >$@ 2>&1
t2.out:
cat ${.CURDIR}/pairs1 ${.CURDIR}/pairs2 |tsort -l >/dev/null 2>$@
t3.out: pairs3
- tsort <pairs3 >$@
+ tsort <pairs3 >$@ 2>&1
t4.out: pairs4
- tsort <pairs4 >$@
+ tsort <pairs4 >$@ 2>&1
+
+t5.out: pairs5
+ tsort <${.CURDIR}/pairs5 >$@ 2>&1
+
+t6.out: pairs6
+ tsort <${.CURDIR}/pairs6 >$@ 2>&1
pairs3:
perl ${.CURDIR}/build-tree 4 8 >$@
@@ -39,6 +48,6 @@ pairs4:
perl ${.CURDIR}/build-tree 5 10 >$@
.PHONY: t1 t2 regress
-CLEANFILES+=t1.out t2.out t3.out t4.out pairs3 pairs4
+CLEANFILES+=t1.out t2.out t3.out t4.out t5.out t6.out pairs3 pairs4
.include <bsd.prog.mk>