summaryrefslogtreecommitdiff
path: root/benchmarks/dhrystone
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/dhrystone
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/dhrystone')
-rw-r--r--benchmarks/dhrystone/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/benchmarks/dhrystone/Makefile b/benchmarks/dhrystone/Makefile
index d4e1a080381..74daa74a499 100644
--- a/benchmarks/dhrystone/Makefile
+++ b/benchmarks/dhrystone/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1998/09/24 09:23:32 agc Exp $
+# $NetBSD: Makefile,v 1.3 1998/12/26 15:59:55 garbled Exp $
DISTNAME= dhry2.1
PKGNAME= dhrystone-2.1
@@ -18,7 +18,11 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/Rationale ${PREFIX}/share/doc/dhrystone
benchmark:
- -${ECHO} 1000000 | ${WRKSRC}/dry2
- -${ECHO} 1000000 | ${WRKSRC}/dry2reg
+ -@${ECHO} 5000000 | ${WRKSRC}/dry2 | tee ${WRKSRC}/dry.out
+ -@${ECHO} 5000000 | ${WRKSRC}/dry2reg | tee -a ${WRKSRC}/dry.out
+
+results:
+ -@${MKDIR} /tmp/benches/`domainname`
+ -@cp ${WRKSRC}/dry.out /tmp/benches/`domainname`/dhrystone.`uname`-`uname -m`-`uname -r`.`hostname`
.include "../../mk/bsd.pkg.mk"