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
commit971498e6b4cf2d21e0ceb3c9a99cb02445d1ed82 (patch)
tree749ed54b07544f0326267d6592b763ebf67675f6 /benchmarks
parentf3b35e331ab856d5ab0bd88fcd4138187f698784 (diff)
downloadpkgsrc-971498e6b4cf2d21e0ceb3c9a99cb02445d1ed82.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
+