summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-17 23:34:24 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-17 23:34:24 -0400
commitf82ae73ecfd52cfc639270e303c6b00941bc7a48 (patch)
tree4f59b20992b13ef265630e63a6dbbcea6bda4bc4 /tools
parent36ed7f744fa44173eb2eede1490492daf1fa931b (diff)
downloadfork-ledger-f82ae73ecfd52cfc639270e303c6b00941bc7a48.tar.gz
fork-ledger-f82ae73ecfd52cfc639270e303c6b00941bc7a48.tar.bz2
fork-ledger-f82ae73ecfd52cfc639270e303c6b00941bc7a48.zip
Improvements to tools/speed-test.sh
Diffstat (limited to 'tools')
-rwxr-xr-xtools/speed-test.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/speed-test.sh b/tools/speed-test.sh
index 0139a11d..0b03147c 100755
--- a/tools/speed-test.sh
+++ b/tools/speed-test.sh
@@ -1,18 +1,16 @@
#!/bin/bash
-set -e
-
-cd ~/src/ledger
/bin/rm -fr ~/Products/ledger/opt
-./acprep --no-python -j16 opt make check
+
+./acprep -j16 opt update || exit 0
COMMIT=$(git describe --long --all)
-SPEEDS=$(./acprep --no-python -j16 opt make speedtest 2>&1 \
+SPEEDS=$(./acprep -j16 opt make speedtest 2>&1 \
| grep "Finished executing command" \
| awk '{print $1}' \
| xargs)
-echo $COMMIT,$(echo $SPEEDS | sed 's/ /,/g') >> speed.log
+echo $COMMIT,$(echo $SPEEDS | sed 's/ /,/g') >> ~/src/ledger/speed.log
exit 0