diff options
author | Michael Vogt <mvo@debian.org> | 2013-10-22 22:05:15 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-10-22 22:06:24 +0200 |
commit | 51355387e5a5d4d7275a34b1c22f0ef5a76172d5 (patch) | |
tree | e40c80a0d5268eb42cf71461e5ef9494658e1b7d /test/integration/run-tests | |
parent | b4017ba767e15dc06c73915efaf36409ee099bf2 (diff) | |
parent | 4b9969da40ff1dff2f5787feff5103c873c57f7f (diff) |
Merge remote-tracking branch 'upstream/debian/sid' into feature/install-progress-refactor
Conflicts:
apt-pkg/deb/dpkgpm.cc
apt-pkg/makefile
Diffstat (limited to 'test/integration/run-tests')
-rwxr-xr-x | test/integration/run-tests | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/integration/run-tests b/test/integration/run-tests index 18474b20f..7316016e2 100755 --- a/test/integration/run-tests +++ b/test/integration/run-tests @@ -2,6 +2,7 @@ set -e FAIL=0 +FAILED_TESTS="" DIR=$(readlink -f $(dirname $0)) if [ "$1" = "-q" ]; then export MSGLEVEL=2 @@ -29,6 +30,7 @@ for testcase in $(run-parts --list $DIR | grep '/test-'); do fi if ! ${testcase}; then FAIL=$((FAIL+1)) + FAILED_TESTS="$FAILED_TESTS $(basename $testcase)" echo "$(basename $testcase) ... FAIL" fi if [ "$MSGLEVEL" -le 2 ]; then @@ -37,5 +39,8 @@ for testcase in $(run-parts --list $DIR | grep '/test-'); do done echo "failures: $FAIL" +if [ -n "$FAILED_TESTS" ]; then + echo "Failed tests: $FAILED_TESTS"; +fi # ensure we don't overflow exit $((FAIL <= 255 ? FAIL : 255)) |