summaryrefslogtreecommitdiff
path: root/benchmarks/bonnie
diff options
context:
space:
mode:
authorgarbled <garbled>1998-12-26 15:59:54 +0000
committergarbled <garbled>1998-12-26 15:59:54 +0000
commit3d278fabb74b86c558438b3dac31c26b5d74adc7 (patch)
tree6958f25a4817a66619dea1a60f9498023655b3f2 /benchmarks/bonnie
parent5332e165bbc28257447c2ad9651bb18aa05ea87d (diff)
downloadpkgsrc-3d278fabb74b86c558438b3dac31c26b5d74adc7.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/bonnie')
-rw-r--r--benchmarks/bonnie/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/benchmarks/bonnie/Makefile b/benchmarks/bonnie/Makefile
index 05638ba8319..c05ca742df7 100644
--- a/benchmarks/bonnie/Makefile
+++ b/benchmarks/bonnie/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 1998/09/24 09:20:08 agc Exp $
+# $NetBSD: Makefile,v 1.12 1998/12/26 15:59:55 garbled Exp $
# FreeBSD Id: Makefile,v 1.5 1997/11/26 23:09:14 jseger Exp
#
@@ -23,6 +23,10 @@ post-extract:
${MV} ${WRKSRC}/Bonnie.c ${WRKSRC}/bonnie.c
benchmark:
- @(cd ${WRKSRC}; ./bonnie)
+ @(cd ${WRKSRC}; ./bonnie | tee bonnie.out)
+
+results:
+ -@${MKDIR} /tmp/benches/`domainname`
+ -@cp ${WRKSRC}/bonnie.out /tmp/benches/`domainname`/bonnie.`uname`-`uname -m`-`uname -r`.`hostname`
.include "../../mk/bsd.pkg.mk"