]> git.saurik.com Git - apt.git/blame - triehash/tests/run-tests.sh
Don't download "optional" files not in Release :/.
[apt.git] / triehash / tests / run-tests.sh
CommitLineData
e2073b02
JAK
1#!/bin/sh
2DIR=$(dirname $(readlink -f $0))
3
4# Let's go into triehash.pl's dir
5cd $(dirname "$DIR")
6
7rm -rf cover_db
8
9count=$(cd "$DIR" && echo test-* | wc -w)
10i=1
11
12for test in $DIR/test-*; do
13 echo "[$i/$count] Running testcase $test"
14 if ! $test > test.summary 2>&1; then
15 cat test.summary
16 exit 1
17 fi
18 i=$((i + 1))
19done
20
21
22cover