diff options
author | hubertf <hubertf> | 1998-12-03 01:27:04 +0000 |
---|---|---|
committer | hubertf <hubertf> | 1998-12-03 01:27:04 +0000 |
commit | 3a222e301584804a5dd1f31d1d4983f0f7ddaf60 (patch) | |
tree | 3fa3c2bfd0d7a166d4eed3970024e7df0a971f1a /benchmarks/benchfft | |
parent | d0463f255da31e6153b1f14e56434516997e7adf (diff) | |
download | pkgsrc-3a222e301584804a5dd1f31d1d4983f0f7ddaf60.tar.gz |
make aware of BATCH (if interactive), uid (if benchmark needs to be run as root)
Diffstat (limited to 'benchmarks/benchfft')
-rw-r--r-- | benchmarks/benchfft/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/benchmarks/benchfft/Makefile b/benchmarks/benchfft/Makefile index ad5b3a027f8..1be6e338a1e 100644 --- a/benchmarks/benchfft/Makefile +++ b/benchmarks/benchfft/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 1998/10/21 19:35:56 garbled Exp $ +# $NetBSD: Makefile,v 1.2 1998/12/03 01:27:04 hubertf Exp $ DISTNAME= benchfft-2.0 CATEGORIES= benchmarks math @@ -23,7 +23,16 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bench ${PREFIX}/bin/bench-fft ${INSTALL_SCRIPT} ${WRKSRC}/submit-script ${PREFIX}/bin/run-fftbench +.include "../../mk/bsd.prefs.mk" + benchmark: +.if defined(BATCH) + @${ECHO} "*** This benchmark may only be run in non-batch mode" ; \ + exit 1 +.else @${WRKSRC}/submit-script + @${ECHO} ${PKGNAME} results: + ${CAT} submit.txt +.endif .include "../../mk/bsd.pkg.mk" |