summaryrefslogtreecommitdiff
path: root/benchmarks/dhrystone
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-09-24 09:23:32 +0000
committeragc <agc@pkgsrc.org>1998-09-24 09:23:32 +0000
commitf588e99782b510372b53a97c9d75455eab078a56 (patch)
tree2a9f6a9a279cd5b1dc376f53bd7448813cba07b1 /benchmarks/dhrystone
parent3c8e74daa433a6e54e64daa5b0f81b9be2a8b913 (diff)
downloadpkgsrc-f588e99782b510372b53a97c9d75455eab078a56.tar.gz
Add a benchmark target to the package Makefile, so that the benchmark
can be run.
Diffstat (limited to 'benchmarks/dhrystone')
-rw-r--r--benchmarks/dhrystone/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/benchmarks/dhrystone/Makefile b/benchmarks/dhrystone/Makefile
index 7df88e3459d..d4e1a080381 100644
--- a/benchmarks/dhrystone/Makefile
+++ b/benchmarks/dhrystone/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 1998/08/30 17:39:21 garbled Exp $
+# $NetBSD: Makefile,v 1.2 1998/09/24 09:23:32 agc Exp $
DISTNAME= dhry2.1
PKGNAME= dhrystone-2.1
@@ -17,4 +17,8 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/clarify.doc ${PREFIX}/share/doc/dhrystone
${INSTALL_MAN} ${WRKSRC}/Rationale ${PREFIX}/share/doc/dhrystone
+benchmark:
+ -${ECHO} 1000000 | ${WRKSRC}/dry2
+ -${ECHO} 1000000 | ${WRKSRC}/dry2reg
+
.include "../../mk/bsd.pkg.mk"