summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authoragc <agc>1998-09-24 09:08:16 +0000
committeragc <agc>1998-09-24 09:08:16 +0000
commit749c9e8b1c4312918fbe0f0ba492fd5ffaeba27b (patch)
tree749ed54b07544f0326267d6592b763ebf67675f6 /benchmarks
parent3cc01af3971d82902aa8abb0cd2271fab8617f6d (diff)
downloadpkgsrc-749c9e8b1c4312918fbe0f0ba492fd5ffaeba27b.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.
Diffstat (limited to 'benchmarks')
-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
+