diff options
author | hubertf <hubertf@pkgsrc.org> | 1998-12-03 01:27:04 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1998-12-03 01:27:04 +0000 |
commit | 0ddb865a760897ddd3cacb4126e797f5422868e3 (patch) | |
tree | 3fa3c2bfd0d7a166d4eed3970024e7df0a971f1a /benchmarks/benchfft | |
parent | 910aeb3ff8e3940a8de6d3b7c11671fd409aaa86 (diff) | |
download | pkgsrc-0ddb865a760897ddd3cacb4126e797f5422868e3.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" |