]> git.saurik.com Git - apt.git/blob - test/integration/run-tests
move sha512,256 into apt-pkg/sha2.{cc,h}, move gifford implementation to sha2_interna...
[apt.git] / test / integration / run-tests
1 #!/bin/sh
2 set -e
3
4 DIR=$(readlink -f $(dirname $0))
5 if [ "$1" = "-q" ]; then
6 export MSGLEVEL=2
7 elif [ "$1" = "-v" ]; then
8 export MSGLEVEL=4
9 fi
10 for testcase in $(run-parts --list $DIR | grep '/test-'); do
11 if [ "$1" = "-q" ]; then
12 echo -n "\033[1;32mRun Testcase \033[1;35m$(basename ${testcase})\033[0m"
13 else
14 echo "\033[1;32mRun Testcase \033[1;35m$(basename ${testcase})\033[0m"
15 fi
16 ${testcase}
17 if [ "$1" = "-q" ]; then
18 echo
19 fi
20 done