]> git.saurik.com Git - apt.git/blob - test/integration/run-tests
enable the split out of LongDescriptions per default in the testcases
[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