summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-09-24 09:08:16 +0000
committeragc <agc@pkgsrc.org>1998-09-24 09:08:16 +0000
commit1fe9c24008a5ec0fe658218d79a2bdcbebef647e (patch)
tree749ed54b07544f0326267d6592b763ebf67675f6
parent0db480e0c5281d468c4d38fbd634388c66e8fae4 (diff)
downloadpkgsrc-1fe9c24008a5ec0fe658218d79a2bdcbebef647e.tar.gz
Add benchmark target to the package Makefile, to enable the benchmark
to be run. Add a file containing the answers necessary to run the benchmark.
-rw-r--r--benchmarks/paranoia/Makefile5
-rw-r--r--benchmarks/paranoia/files/paranoia.run12
2 files changed, 16 insertions, 1 deletions
diff --git a/benchmarks/paranoia/Makefile b/benchmarks/paranoia/Makefile
index 466f3831380..13df3a5f167 100644
--- a/benchmarks/paranoia/Makefile
+++ b/benchmarks/paranoia/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1998/09/06 21:12:41 garbled Exp $
+# $NetBSD: Makefile,v 1.3 1998/09/24 09:08:16 agc Exp $
DISTNAME= paranoia
PKGNAME= paranoia-960101
@@ -19,4 +19,7 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/paranoia ${PREFIX}/bin
+benchmark:
+ @(cd ${WRKSRC}; ./paranoia < ${FILESDIR}/paranoia.run)
+
.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/paranoia/files/paranoia.run b/benchmarks/paranoia/files/paranoia.run
new file mode 100644
index 00000000000..69863c07d50
--- /dev/null
+++ b/benchmarks/paranoia/files/paranoia.run
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+y
+y
+