]> git.saurik.com Git - apt.git/blame_incremental - test/integration/run-tests
- change the internal handling of Extensions in pkgAcqIndex
[apt.git] / test / integration / run-tests
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4DIR=$(readlink -f $(dirname $0))
5if [ "$1" = "-q" ]; then
6 export MSGLEVEL=2
7elif [ "$1" = "-v" ]; then
8 export MSGLEVEL=4
9fi
10for 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
20done