summaryrefslogtreecommitdiff
path: root/benchmarks/bytebench
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>1998-12-26 15:59:54 +0000
committergarbled <garbled@pkgsrc.org>1998-12-26 15:59:54 +0000
commitf544fc14ed1e41244d3fba2d11315ca2098805a0 (patch)
tree6958f25a4817a66619dea1a60f9498023655b3f2 /benchmarks/bytebench
parent1da2cee3915634868a6be87188747112cdf205cc (diff)
downloadpkgsrc-f544fc14ed1e41244d3fba2d11315ca2098805a0.tar.gz
Fix all the benchmark targets so they work properly, and work with the
package uninstalled, with the exceptionof lmbench. Make non-batch targets for all the benchmarks, and create a results target which places all the results in /tmp for easier collection.
Diffstat (limited to 'benchmarks/bytebench')
-rw-r--r--benchmarks/bytebench/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/benchmarks/bytebench/Makefile b/benchmarks/bytebench/Makefile
index 85296a80b6e..ff9f579910c 100644
--- a/benchmarks/bytebench/Makefile
+++ b/benchmarks/bytebench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 1998/12/03 01:27:05 hubertf Exp $
+# $NetBSD: Makefile,v 1.4 1998/12/26 15:59:55 garbled Exp $
DISTNAME= byte
PKGNAME= bytebench-3.6
@@ -20,6 +20,10 @@ do-install:
benchmark:
@if [ `id -u` != 0 ]; then echo "This benchmark must be run as root!" ; exit 1 ; fi
- @${WRKSRC}/run-byte
+ @${WRKSRC}/run-byte | tee ${WRKSRC}/bytebench.out
+
+results:
+ -@${MKDIR} /tmp/benches/`domainname`
+ -@cp ${WRKSRC}/bytebench.out /tmp/benches/`domainname`/bytebench.`uname`-`uname -m`-`uname -r`.`hostname`
.include "../../mk/bsd.pkg.mk"