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