summaryrefslogtreecommitdiff
path: root/benchmarks/iozone
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/iozone
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/iozone')
-rw-r--r--benchmarks/iozone/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile
index 5d8a7e858af..957a2020aab 100644
--- a/benchmarks/iozone/Makefile
+++ b/benchmarks/iozone/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 1998/09/24 09:20:08 agc Exp $
+# $NetBSD: Makefile,v 1.5 1998/12/26 15:59:56 garbled Exp $
DISTNAME= iozone
PKGNAME= iozone-1.14b
@@ -17,6 +17,10 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin
benchmark:
- @(cd ${WRKSRC}; ./iozone)
+ @(cd ${WRKSRC}; ./iozone 100 | tee iozone.out)
+
+results:
+ -@${MKDIR} /tmp/benches/`domainname`
+ -@cp ${WRKSRC}/iozone.out /tmp/benches/`domainname`/iozone.`uname`-`uname -m`-`uname -r`.`hostname`
.include "../../mk/bsd.pkg.mk"