From 971498e6b4cf2d21e0ceb3c9a99cb02445d1ed82 Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 24 Sep 1998 09:08:16 +0000 Subject: 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. --- benchmarks/paranoia/Makefile | 5 ++++- benchmarks/paranoia/files/paranoia.run | 12 ++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 benchmarks/paranoia/files/paranoia.run (limited to 'benchmarks') 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 + -- cgit v1.2.3