diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-02-28 17:00:49 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-02-28 17:00:49 +0100 |
commit | ffc93497ad16ea54faffd7ba76e5ce2c9186d714 (patch) | |
tree | 2e68cebc2f9e9deef1f502d2a3b78c5d8e71e8d7 /exporters/darcs/t/bench.sh | |
parent | f231d5373c39b3c85fed6c83a2f72acdce58e43d (diff) | |
download | bzr-fastimport-ffc93497ad16ea54faffd7ba76e5ce2c9186d714.tar.gz |
Remove the various exporters.
Diffstat (limited to 'exporters/darcs/t/bench.sh')
-rw-r--r-- | exporters/darcs/t/bench.sh | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/exporters/darcs/t/bench.sh b/exporters/darcs/t/bench.sh deleted file mode 100644 index a4b3d0d..0000000 --- a/exporters/darcs/t/bench.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh - -# this is a test as well, but it would take a lot of time, so don't -# prefix it with 'test'. - -. lib.sh - -if [ ! -d darcs-benchmark ]; then - darcs get http://code.haskell.org/darcs/darcs-benchmark - cd darcs-benchmark -else - cd darcs-benchmark - darcs pull -a -fi -sh initialise.sh -cd big-zoo -if [ -n "$1" ]; then - targets=$1 -else - targets=*_play.tar.gz -fi -for i in $targets -do - echo "benchmarking $i" - rm -rf _playground - tar xf $i - cd _playground - log="../$i.d-f-e-$(git describe).log" - sh -c 'time d2x -f git sandbox' 2>&1 |tee $log - darcs show repo --repodir sandbox |egrep -v 'Root|Cache|Default' >> $log - if diff_git sandbox >/dev/null; then - echo "ok, the result is correct" >> $log - else - echo "ouch, the result is corrupted" >> $log - exit 1 - fi - cd .. -done |