]>
git.saurik.com Git - apt.git/blob - test/integration/run-tests
5 DIR
=$(readlink -f $(dirname $0))
6 if [ "$1" = "-q" ]; then
8 elif [ "$1" = "-v" ]; then
11 for testcase
in $(run-parts --list $DIR | grep '/test-'); do
12 if [ "$1" = "-q" ]; then
13 echo -n "\033[1;32mRun Testcase \033[1;35m$(basename ${testcase})\033[0m"
15 echo "\033[1;32mRun Testcase \033[1;35m$(basename ${testcase})\033[0m"
17 if ! ${testcase}; then
19 echo "$(basename $testcase) ... FAIL"
21 if [ "$1" = "-q" ]; then
26 echo "failures: $FAIL"