summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorJakob Borg <jakob@nym.se>2015-05-23 15:08:17 +0200
committerJakob Borg <jakob@nym.se>2015-05-23 15:08:17 +0200
commit8dd7e4e6b58bc7982ed4365a11d70598724a41db (patch)
treee54062c866db49429d296c3033239c897cbebf67 /build.sh
parenta2b94f4e0606caa5fe2baeb963a49c94b9343d73 (diff)
Run benchmarks when running tests
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 58f49d359..abce70440 100755
--- a/build.sh
+++ b/build.sh
@@ -18,7 +18,9 @@ case "${1:-default}" in
ulimit -d 512000 &>/dev/null || true
ulimit -m 512000 &>/dev/null || true
- go run build.go "$1"
+ go run build.go test
+ echo
+ LOGGER_DISCARD=1 go run build.go bench | go run benchfilter.go
;;
tar)