3 # this is a test as well, but it would take a lot of time, so don't
4 # prefix it with 'test'.
8 if [ ! -d darcs-benchmark
]; then
9 darcs get http
://code.haskell.org
/darcs
/darcs-benchmark
24 echo "benchmarking $i"
28 log
="../$i.d-f-e-$(git describe).log"
29 sh
-c 'time d2x -f git sandbox' 2>&1 |
tee $log
30 darcs show repo
--repodir sandbox |
egrep -v 'Root|Cache|Default' >> $log
31 if diff_git sandbox
>/dev
/null
; then
32 echo "ok, the result is correct" >> $log
34 echo "ouch, the result is corrupted" >> $log